【24h】

An Automated Software Tool for Validating Design Patterns

机译:用于验证设计模式的自动化软件工具

获取原文
获取原文并翻译 | 示例

摘要

Design pattern languages have started to gain more attention by providing the ability to specify instances of patterns. The Role Based Metamodeling Language (RBML) is a visually oriented language defined in terms of a specialization of the UML meta-model that is used to verify and specify generic or domain specific design patterns. The evolution of increasingly complex computer applications is mandating the development of technologies and tools that can validate the intended design and can alert developers of potential changes that were not intended by the original designers. Deviations from design patterns occur as a result of a lack of understanding of intended designs or through evolutionary changes of the software; thus an automated tool is needed to inform developers when design patterns no longer conform to their original intended design. Herein, we present an automated software tool that compares the UML class diagrams of instances of design patterns with their RBML representations and reports back if said UML diagram is compliant. The tool can identify which classifiers (classes or associations) of the design pattern are in violation with their RBML description. Furthermore, the tool produces a score that is indicative of the level of compliance. We describe the algorithm that compares the UML representing a design pattern to its corresponding RBML and provide several scenarios that demonstrate the capabilities of this tool.
机译:通过提供指定模式实例的功能,设计模式语言已开始引起更多关注。基于角色的元建模语言(RBML)是一种根据UML元模型的特殊性定义的面向视觉的语言,用于验证和指定通用或特定于领域的设计模式。日益复杂的计算机应用程序的发展迫使技术和工具的发展,这些技术和工具可以验证预期的设计,并可以警告开发人员原设计人员无意进行的潜在更改。对设计模式的偏离是由于对预期设计的缺乏了解或软件的演进所致。因此,当设计模式不再符合其最初的预期设计时,需要一个自动工具来通知开发人员。在这里,我们提供了一种自动化的软件工具,该工具可以将设计模式实例的UML类图与其RBML表示进行比较,并报告所述UML图是否符合要求。该工具可以识别设计模式的哪些分类器(类或关联)违反了它们的RBML描述。此外,该工具会产生一个分数,该分数指示合规性水平。我们描述了一种算法,该算法将代表设计模式的UML与对应的RBML进行比较,并提供了几种方案来演示此工具的功能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号