首页> 外文期刊>Science of Computer Programming >A graph mining approach for detecting identical design structures in object-oriented design models
【24h】

A graph mining approach for detecting identical design structures in object-oriented design models

机译:在面向对象设计模型中检测相同设计结构的图挖掘方法

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

摘要

The object-oriented approach has been the most popular software design methodology for the past twenty-five years. Several design patterns and principles are defined to improve the design quality of object-oriented software systems. In addition, designers can use unique design motifs that are designed for the specific application domains. Another commonly used technique is cloning and modifying some parts of the software while creating new modules. Therefore, object-oriented programs can include many identical design structures. This work proposes a sub-graph mining-based approach for detecting identical design structures in object-oriented systems. By identifying and analyzing these structures, we can obtain useful information about the design, such as commonly-used design patterns, most frequent design defects, domain-specific patterns, and reused design clones, which could help developers to improve their knowledge about the software architecture. Furthermore, problematic parts of frequent identical design structures are appropriate refactoring opportunities because they affect multiple areas of the architecture. Experiments with several open-source and industrial projects show that we can successfully find many identical design structures within a project (intra-project) and between different projects (inter-project). We observe that usually most of the detected identical structures are an implementation of common design patterns; however, we also detect various anti-patterns, domain-specific patterns, reused design parts and design-level clones.
机译:过去二十五年来,面向对象方法一直是最受欢迎的软件设计方法。定义了几种设计模式和原理,以提高面向对象软件系统的设计质量。此外,设计人员可以使用针对特定应用领域设计的独特设计主题。另一种常用的技术是在创建新模块时克隆和修改软件的某些部分。因此,面向对象的程序可以包括许多相同的设计结构。这项工作提出了一种基于子图挖掘的方法,用于检测面向对象系统中的相同设计结构。通过识别和分析这些结构,我们可以获得有关设计的有用信息,例如常用的设计模式,最常见的设计缺陷,特定领域的模式以及可重复使用的设计克隆,这些信息可以帮助开发人员提高对软件的了解。建筑。此外,频繁的相同设计结构中有问题的部分是适当的重构机会,因为它们会影响体系结构的多个区域。对几个开源和工业项目的实验表明,我们可以成功地在一个项目内(项目内)和不同项目之间(项目间)找到许多相同的设计结构。我们观察到,通常大多数检测到的相同结构都是通用设计模式的实现。但是,我们还会检测各种反模式,特定于域的模式,重用的设计部分和设计级别的克隆。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号