An approach to detect false design patterns

被引:0
|
作者
Severo, Natan da Silva [1 ]
Job, Ricardo de Sousa [1 ]
机构
[1] Inst Fed Educ Ciencia & Tecnol Paraiba, Cajazeiras, Paraiba, Brazil
关键词
design patterns; software vocabulary; false design patterns;
D O I
10.1145/3357141.3357146
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A false design pattern occurs when software vocabularies indicate the existence of a design pattern, but it is not implemented. Occurrences of false design patterns may make it difficult to understand, maintain, and evolve software. In this context, we present an approach to detect false patterns of projects implemented in the Java language. We evaluated this solution in eighteen open source projects and through three research questions, we identified 435 indications of false design patterns. Of these, we detected a set of 202 real occurrences of false design patterns. In one of the evaluated projects we achieved an accuracy of approximately 81%. In addition, it was possible to relate the false standards to some software metrics. Identifying these occurrences enables better communication and understanding of the code.
引用
收藏
页码:63 / 72
页数:10
相关论文
共 50 条
  • [1] A Machine Learning Based Approach to Detect Machine Learning Design Patterns
    Pan, Weitao
    Washizaki, Hironori
    Yoshioka, Nobukazu
    Fukazawa, Yoshiaki
    Khomh, Foutse
    Gueheneuc, Yann-Gael
    PROCEEDINGS OF THE 2023 30TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, APSEC 2023, 2023, : 574 - 578
  • [2] VPML: an approach to detect design patterns of MOF-based modeling languages
    Elaasar, Maged
    Briand, Lionel C.
    Labiche, Yvan
    SOFTWARE AND SYSTEMS MODELING, 2015, 14 (02): : 735 - 764
  • [3] VPML: an approach to detect design patterns of MOF-based modeling languages
    Maged Elaasar
    Lionel C. Briand
    Yvan Labiche
    Software & Systems Modeling, 2015, 14 : 735 - 764
  • [4] Relaxing Queries to Detect Variants of Design Patterns
    Wegrzynowicz, Patrycja
    Stencel, Krzysztof
    2013 FEDERATED CONFERENCE ON COMPUTER SCIENCE AND INFORMATION SYSTEMS (FEDCSIS), 2013, : 1571 - 1578
  • [5] Are CK Metrics Enough to Detect Design Patterns?
    Dlamini, Gcinizwe
    Megha, Swati
    Komolov, Sirojiddin
    ADVANCES IN INFORMATION AND COMMUNICATION, FICC, VOL 2, 2023, 652 : 11 - 24
  • [6] A General Framework to Detect Behavioral Design Patterns
    Liu, Cong
    van Dongen, Boudewijn
    Assy, Nour
    van der Aalst, Wil M. P.
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING - COMPANION (ICSE-COMPANION, 2018, : 234 - 235
  • [7] A generic approach to detect design patterns in model transformations using a string-matching algorithm
    Chihab eddine Mokaddem
    Houari Sahraoui
    Eugene Syriani
    Software and Systems Modeling, 2022, 21 : 1241 - 1269
  • [8] A generic approach to detect design patterns in model transformations using a string-matching algorithm
    Mokaddem, Chihab Eddine
    Sahraoui, Houari
    Syriani, Eugene
    SOFTWARE AND SYSTEMS MODELING, 2022, 21 (03): : 1241 - 1269
  • [9] An approach to automatically detect problems in restructured deployment models based on formalizing architecture and design patterns
    Saatkamp, Karoline
    Breitenbuecher, Uwe
    Kopp, Oliver
    Leymann, Frank
    SICS SOFTWARE-INTENSIVE CYBER-PHYSICAL SYSTEMS, 2019, 34 (2-3): : 85 - 97
  • [10] A Machine Learning Based Approach to Detect False Calls in SMT Manufacturing
    Thielen, Nils
    Werner, Dominik
    Schmidt, Konstantin
    Seidel, Reinhardt
    Reinhardt, Andreas
    Franke, Joerg
    2020 43RD INTERNATIONAL SPRING SEMINAR ON ELECTRONICS TECHNOLOGY (ISSE), 2020,