On the Analysis of Co-occurrence of Anti-patterns and Clones

被引:7
|
作者
Jaafar, Fehmi [1 ]
Lozano, Angela [2 ]
Gueheneuc, Yann-Gael [3 ]
Mens, Kim [4 ]
机构
[1] Concordia Univ Edmonton, Edmonton, AB, Canada
[2] Vrije Univ Brussel, Software Languages Lab, Brussels, Belgium
[3] Ecole Polytech, Ptidej Team, Montreal, PQ, Canada
[4] Catholic Univ Louvain, RELEASeD Grp, Louvain, Belgium
关键词
Code smells; Anti-patterns; Clones; Faults proneness; Software Quality; CODE CLONES; METRICS; COMPLEXITY;
D O I
10.1109/QRS.2017.38
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In software engineering, a smell is a part of a software system's source code with a poor quality and that may indicate a deeper problem. Although many kinds of smells have been studied to analyze their causes, their behavior, and their impact on software quality, those smells typically are studied independently from each other. However, if two smells coincide inside a class, this could increases their negative effect (e.g., spaghetti code that is being cloned across the system). In this paper we report results from an empirical study conducted to examine the relationship between two specific kinds of smells: code clones and anti-patterns. We conducted our study on three open-source software systems: Azureus, Eclipse, and JHotDraw. Results show that between 32% and 63% of classes in the analysed systems present co-occurrence of smells, and that such classes are more risky in term of fault-proneness.
引用
下载
收藏
页码:274 / 284
页数:11
相关论文
共 50 条
  • [1] TEXTURE ANALYSIS WITH SHAPE CO-OCCURRENCE PATTERNS
    Liu, Gang
    Xia, Gui-Song
    Yang, Wen
    Zhang, Liangpei
    2014 22ND INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2014, : 1627 - 1632
  • [2] Patterns of Anti-Patterns?
    Dodani, Mahesh H.
    JOURNAL OF OBJECT TECHNOLOGY, 2006, 5 (06): : 29 - 33
  • [3] Null model analysis of species co-occurrence patterns
    Gotelli, NJ
    ECOLOGY, 2000, 81 (09) : 2606 - 2621
  • [4] A New Family of Software Anti-Patterns: Linguistic Anti-Patterns
    Arnaoudova, Venera
    Di Penta, Massimiliano
    Antoniol, Giuliano
    Gueheneuc, Yann-Gael
    PROCEEDINGS OF THE 17TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR 2013), 2013, : 187 - 196
  • [5] Co-occurrence patterns in diagnostic data
    Piceno, Marie Ely
    Rodriguez-Navas, Laura
    Balcazar, Jose Luis
    COMPUTATIONAL INTELLIGENCE, 2021, 37 (04) : 1499 - 1514
  • [6] GDPR Anti-Patterns
    Shastri, Supreeth
    Wasserman, Melissa
    Chidambaram, Vijay
    COMMUNICATIONS OF THE ACM, 2021, 64 (02) : 59 - 65
  • [7] Towards Better Detection and Analysis of Massive Spatiotemporal Co-Occurrence Patterns
    Wu, Yingcai
    Weng, Di
    Deng, Zikun
    Bao, Jie
    Xu, Mingliang
    Wang, Zhangye
    Zheng, Yu
    Ding, Zhiyu
    Chen, Wei
    IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, 2021, 22 (06) : 3387 - 3402
  • [8] Co-occurrence analysis for discovery of novel breast cancer pathology patterns
    Maskery, Susan M.
    Zhang, Yonghong
    Jordan, Rick M.
    Hu, Hai
    Hooke, Jeffrey A.
    Shriver, Craig D.
    Liebman, Michael N.
    IEEE TRANSACTIONS ON INFORMATION TECHNOLOGY IN BIOMEDICINE, 2006, 10 (03): : 497 - 503
  • [9] The analysis and measurement of building patterns using texton co-occurrence matrices
    Yu, Wenhao
    Ai, Tinghua
    Liu, Pengcheng
    Cheng, Xiaoqiang
    INTERNATIONAL JOURNAL OF GEOGRAPHICAL INFORMATION SCIENCE, 2017, 31 (06) : 1079 - 1100
  • [10] Anti-Patterns in Infrastructure as Code
    Rahman, Akond
    2018 IEEE 11TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2018, : 434 - 435