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 条
  • [31] Metric Based Detection of Refused Bequest Code Smell
    Merzah, Baydaa M.
    Selcuk, Yunus E.
    2017 9TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMMUNICATION NETWORKS (CICN), 2017, : 53 - 57
  • [32] The detection of code smell on software development: a mapping study
    Liu, Xinghua
    Zhang, Cheng
    PROCEEDINGS OF THE 2017 5TH INTERNATIONAL CONFERENCE ON MACHINERY, MATERIALS AND COMPUTING TECHNOLOGY (ICMMCT 2017), 2017, 126 : 560 - 575
  • [33] Causes, Impacts, and Detection Approaches of Code Smell : A Survey
    Haque, Md Shariful
    Carver, Jeff
    Atkison, Travis
    ACMSE '18: PROCEEDINGS OF THE ACMSE 2018 CONFERENCE, 2018,
  • [34] Multi-faceted Code Smell Detection at Scale using DesigniteJava']Java 2.0
    Sharma, Tushar
    2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2024, : 284 - 288
  • [35] Understanding Code Smell Detection via Code Review: A Study of the OpenStack Community
    Han, Xiaofeng
    Tahir, Amjed
    Liang, Peng
    Counsell, Steve
    Luo, Yajing
    2021 IEEE/ACM 29TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2021), 2021, : 323 - 334
  • [36] IDENTIFICATION OF CODE SMELL USING MACHINE LEARNING
    Jesudoss, A.
    Maneesha, S.
    durga, T. Lakshmi naga
    PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL SYSTEMS (ICCS), 2019, : 54 - 58
  • [37] A Support Vector Machine based Approach for Code Smell Detection
    Kaur, Amandeep
    Jain, Sushma
    Goel, Shivani
    2017 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND DATA SCIENCE (MLDS 2017), 2017, : 9 - 14
  • [38] Code smell detection based on supervised learning models: A survey
    Zhang, Yang
    Ge, Chuyan
    Liu, Haiyang
    Zheng, Kun
    NEUROCOMPUTING, 2024, 565
  • [39] Comparing and experimenting machine learning techniques for code smell detection
    Francesca Arcelli Fontana
    Mika V. Mäntylä
    Marco Zanoni
    Alessandro Marino
    Empirical Software Engineering, 2016, 21 : 1143 - 1191
  • [40] cASpER: A Plug-in for Automated Code Smell Detection and Refactoring
    De Stefano, Manuel
    Gambardella, Michele Simone
    Pecorelli, Fabiano
    Palomba, Fabio
    De Lucia, Andrea
    PROCEEDINGS OF THE WORKING CONFERENCE ON ADVANCED VISUAL INTERFACES AVI 2020, 2020,