Metric and Rule Based Automated Detection of Antipatterns in Object-Oriented Software Systems

被引:0
|
作者
Aras, Mehmed Taha [1 ]
Selcuk, Yunus Emre [1 ]
机构
[1] Yildiz Tech Univ, Dept Comp Engn, Istanbul, Turkey
关键词
antipattern; code smell; automated detection; metric based detection; rule based detection; PATTERNS; IMPACT; CODE;
D O I
暂无
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
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 pro pose 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.
引用
收藏
页数:6
相关论文
共 50 条
  • [1] A Novel Coupling Metric for Object-Oriented Software Systems
    Li, Huan
    [J]. 2008 IEEE INTERNATIONAL SYMPOSIUM ON KNOWLEDGE ACQUISITION AND MODELING WORKSHOP PROCEEDINGS, VOLS 1 AND 2, 2008, : 609 - 612
  • [2] A complexity metric for object-oriented software
    Yi, Tong
    Fang, Chun
    [J]. International Journal of Computers and Applications, 2020, 42 (06): : 544 - 549
  • [3] Antipatterns Detection Approaches in Object-Oriented Design: A Literature Review
    Din, Jamilah
    Al-Badareen, Anas Bassam
    Jusoh, Yusmadi Yah
    [J]. 2012 7TH INTERNATIONAL CONFERENCE ON COMPUTING AND CONVERGENCE TECHNOLOGY (ICCCT2012), 2012, : 926 - 931
  • [4] A new reusability metric for object-oriented software
    Barnard, J
    [J]. SOFTWARE QUALITY JOURNAL, 1998, 7 (01) : 35 - 50
  • [5] A new reusability metric for object-oriented software
    Judith Barnard
    [J]. Software Quality Journal, 1998, 7 (1) : 35 - 50
  • [6] Object-oriented software testing and metric in Z specification
    Chung, CM
    Shih, TK
    Wang, CC
    [J]. INFORMATION SCIENCES, 1997, 98 (1-4) : 175 - 202
  • [7] A Novel Method of Complexity Metric for Object-Oriented Software
    Yi, Tong
    Fang, Chun
    [J]. INTERNATIONAL JOURNAL OF DIGITAL MULTIMEDIA BROADCASTING, 2018, 2018
  • [8] A Metric Method for Object-Oriented Systems Based on MarkII Method
    Jing Fubo
    Zeng Yi
    Liu Huijun
    Cheng Lu
    Lu Jiawei
    [J]. 2014 IEEE 7TH JOINT INTERNATIONAL INFORMATION TECHNOLOGY AND ARTIFICIAL INTELLIGENCE CONFERENCE (ITAIC), 2014, : 564 - 570
  • [9] A metric framework for the assessment of Object-Oriented systems
    Fioravanti, F
    [J]. IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS: SYSTEMS AND SOFTWARE EVOLUTION IN THE ERA OF THE INTERNET, 2001, : 557 - 560
  • [10] Automated detection of lunar craters based on object-oriented approach
    YUE ZongYu1
    2 China University of Geosciences (Beijing)
    3 National Astronomical Observatories of Chinese Academy of Sciences
    4 Department of Geological Sciences
    [J]. Science Bulletin, 2008, (23) : 3699 - 3704