首页> 外文期刊>Advances in Engineering Software >Design pattern recovery based on annotations
【24h】

Design pattern recovery based on annotations

机译:基于注释的设计模式恢复

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Design patterns have been widely used for developing flexible, extensible and perceptible applications to produce effective, reliable, verifiable and easily maintained software systems. The main advantage of using patterns is to take the edge of using best practices and experiences of others in solving the challenging tasks. Patterns have been extensively tested in different applications and reusing them yields the quality software. In this paper, we present a design pattern recovery approach based on annotations, regular expressions and database queries. We define the varying features of patterns and apply rules to match these features with the source code elements. Our novel approach reduces the search space and time for detecting patterns by using appropriate semantics of annotations from large legacy systems. We have tested our approach as proof of concept on motivating examples, and the obtained results are very encouraging.
机译:设计模式已广泛用于开发灵活,可扩展和可感知的应用程序,以生成有效,可靠,可验证且易于维护的软件系统。使用模式的主要优点是可以利用他人的最佳实践和经验来解决具有挑战性的任务。模式已经在不同的应用程序中进行了广泛的测试,重复使用它们可以生成高质量的软件。在本文中,我们提出了一种基于注释,正则表达式和数据库查询的设计模式恢复方法。我们定义模式的各种功能,并应用规则以使这些功能与源代码元素相匹配。我们的新颖方法通过使用来自大型旧系统的注释的适当语义来减少用于检测模式的搜索空间和时间。我们已经测试了我们的方法作为激励实例的概念证明,并且获得的结果非常令人鼓舞。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号