Using Developers' Feedback to Improve Code Smell Detection

被引:7
|
作者
Hozano, Mario [1 ]
Ferreira, Henrique [2 ]
Silva, Italo [2 ]
Fonseca, Baldoino [3 ]
Costa, Evandro [3 ]
机构
[1] Univ Fed Campina Grande, Dept Comp Syst, Campina Grande, Paraiba, Brazil
[2] Univ Fed Alagoas, Arapiraca, Alagoas, Brazil
[3] Univ Fed Alagoas, Comp Inst, Maceio, Alagoas, Brazil
关键词
Refactoring; Code Smell Detection; Developer's Feedback;
D O I
10.1145/2695664.2696059
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Several studies are focused on the study of code smells and many detection techniques have been proposed. In this scenario, the use of rules involving software-metrics has been widely used in refactoring tools as a mechanism to detect code smells automatically. However, actual approaches present two unsatisfactory aspects: they present a low agreement in its results and, they do not consider the developers' feedback. In this way, these approaches detect smells that are not relevant to the developers. In order to solve the above mentioned unsatisfactory aspects in the state-of the art of code smells detection, we propose the Smell Platform able to recognize code smells more relevant to developers by using its feedback. In this paper we present how such platform is able to detect four well known code smells. Finally, we evaluate the Smell Platform comparing its results with traditional detection techniques.
引用
收藏
页码:1661 / 1663
页数:3
相关论文
共 50 条
  • [41] Optimizing LSTM for Code Smell Detection: The Role of Data Balancing
    Khleel, Nasraldeen Alnor Adam
    Nehéz, Károly
    Infocommunications Journal, 2024, 16 (03): : 57 - 63
  • [42] Are Code Smell Detection Tools Suitable For Detecting Architecture Degradation?
    Lenhard, Jorg
    Hassan, Mohammad Mahdi
    Blom, Martin
    Herold, Sebastian
    11TH EUROPEAN CONFERENCE ON SOFTWARE ARCHITECTURE (ECSA 2017) - COMPANION VOLUME, 2017, : 139 - 145
  • [43] Code Smell Detection Tool for Java']Java Script Programs
    Almashfi, Nabil
    Lu, Lunjin
    2020 5TH INTERNATIONAL CONFERENCE ON COMPUTER AND COMMUNICATION SYSTEMS (ICCCS 2020), 2020, : 172 - 176
  • [44] Code Smell detection through metrics for the protection of template methods
    Santaolaya-Salgado, Rene
    Ramirez-Garcia, Elias Alejandro
    Valenzuela-Robles, Blanca Dina
    Fragoso-Diaz, Olivia Graciela
    DYNA, 2024, 99 (04):
  • [45] An Automated Code Smell and Anti-Pattern Detection Approach
    Velioglu, Sevilay
    Selcuk, Yunus Emre
    2017 IEEE/ACIS 15TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH, MANAGEMENT AND APPLICATIONS (SERA), 2017, : 271 - 275
  • [46] Code Bad Smell Detection through Evolutionary Data Mining
    Fu, Shizhe
    Shen, Beijun
    2015 ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM), 2015, : 41 - 49
  • [47] Application of Deep Learning for Code Smell Detection: Challenges and Opportunities
    Hadj-Kacem M.
    Bouassida N.
    SN Computer Science, 5 (5)
  • [48] A User Feedback Centric Approach for Detecting and Mitigating God Class Code Smell Using Frequent Usage Patterns
    Singh, Randeep
    Bindal, Amit
    Kumar, Ashok
    JOURNAL OF COMMUNICATIONS SOFTWARE AND SYSTEMS, 2019, 15 (03) : 245 - 253
  • [49] Hybrid particle swarm optimisation with mutation for code smell detection
    Saranya, G.
    Nehemiah, H. Khanna
    Kannan, A.
    INTERNATIONAL JOURNAL OF BIO-INSPIRED COMPUTATION, 2018, 12 (03) : 186 - 195
  • [50] GLITCH: Automated Polyglot Security Smell Detection in Infrastructure as Code
    Saavedra, Nuno
    Ferreira, Joao F.
    PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,