首页> 外文会议>International Conference on Computer Science and Information Technology >Metric and rule based automated detection of antipatterns in object-oriented software systems
【24h】

Metric and rule based automated detection of antipatterns in object-oriented software systems

机译:面向对象的软件系统中基于度量和规则的反模式自动检测

获取原文

摘要

Patterns are techniques to improve design and enhance reusability. Design patterns are general solutions which are used for common problems in object oriented systems. Code and design smells are symptoms of weak design and development, problems that reside deep in code and reduce the quality of software. The antipattern concept is also introduced as poor solutions to solve recurring problems, even though developers think that they practice a design pattern. It is proven that antipatterns have negative effects on maintainability, flexibility and readability of object oriented software systems. In this research, we propose a metric and a rule based automated antipattern detection system for object oriented software. This system consists of three main mechanisms to detect an antipattern. These mechanisms are “Metric Analyzer”, “Static Code Analyzer” and “Filtering Mechanism”. We specified three antipatterns to analyze; namely Blob, Swiss Army Knife and Lava Flow. Thresholds that are used to detect antipatterns are determined considering six reference projects' results and averages of the analyzed project itself. Detection algorithms have been applied on a set of hand-crafted Java classes and accuracy percentages are measured according to the produced results.
机译:模式是改善设计并增强可重用性的技术。设计模式是用于解决面向对象系统中常见问题的通用解决方案。代码和设计的气味是设计和开发薄弱的症状,这些问题深深地存在于代码中并降低了软件的质量。即使开发人员认为他们实践设计模式,但反模式概念也作为解决重复出现的问题的不良解决方案而引入。事实证明,反模式对面向对象软件系统的可维护性,灵活性和可读性具有负面影响。在这项研究中,我们为面向对象的软件提出了一种基于度量和基于规则的自动反模式检测系统。该系统由三种主要的机制来检测反模式。这些机制是“度量分析器”,“静态代码分析器”和“过滤机制”。我们指定了三种反模式进行分析;即Blob,瑞士军刀和熔岩流。确定反模式的阈值时要考虑六个参考项目的结果以及所分析项目本身的平均值。检测算法已应用于一组手工制作的Java类,并根据产生的结果测量准确性百分比。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号