...
首页> 外文期刊>International journal of software engineering and knowledge engineering >A General Framework to Detect Design Patterns by Combining Static and Dynamic Analysis Techniques
【24h】

A General Framework to Detect Design Patterns by Combining Static and Dynamic Analysis Techniques

机译:通过组合静态和动态分析技术来检测设计模式的一般框架

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

摘要

Design pattern detection can provide useful insights to support software comprehension. Accurate and complete detection of pattern instances are extremely important to enable software usability improvements. However, existing design pattern detection approaches and tools suffer from the following problems: incomplete description of design pattern instances, inaccurate behavioral constraint checking, and inability to support novel design patterns. This paper presents a general framework to detect design patterns while solving these issues by combining static and dynamic analysis techniques. The framework has been instantiated for typical behavioral and creational patterns, such as the observer pattern, state pattern, strategy pattern, and singleton pattern to demonstrate the applicability. Based on the open-source process mining toolkit ProM, we have developed an integrated tool that supports the whole detection process for these patterns. We applied and evaluated the framework using software execution data containing around 1,000,000 method calls generated from eight synthetic software systems and three open-source software systems. The evaluation results show that our approach can guarantee a higher precision and recall than existing approaches and can distinguish state and strategy patterns that are indistinguishable by the state-of-the-art.
机译:设计模式检测可以提供支持软件理解的有用见解。准确和完全检测模式实例对于实现软件可用性改进非常重要。然而,现有的设计模式检测方法和工具遭受以下问题:设计模式实例的不完整描述,不准确的行为约束检查,并且无法支持新颖的设计模式。本文介绍了通过组合静态和动态分析技术来解决这些问题的一般框架。该框架已经用于典型的行为和创造模式,例如观察者模式,状态模式,策略模式和单例模式以证明适用性。基于开源过程挖掘工具包PROM,我们开发了一个集成工具,支持这些模式的整个检测过程。我们使用包含从8个合成软件系统和三个开源软件系统生成的大约1,000,000个方法调用的软件执行数据应用和评估框架。评估结果表明,我们的方法可以保证比现有方法更高的精度和召回,并且可以区分最先进的国家和战略模式。

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号