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 条
  • [21] Code-Smell Detection as a Bilevel Problem
    Sahin, Dilan
    Kessentini, Marouane
    Bechikh, Slim
    Deb, Kalyanmoy
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2014, 24 (01)
  • [22] Voting Heterogeneous Ensemble for Code Smell Detection
    Aljamaan, Hamoud
    20TH IEEE INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND APPLICATIONS (ICMLA 2021), 2021, : 897 - 902
  • [23] Comparison of Machine Learning Methods for Code Smell Detection Using Reduced Features
    Karaduzovic-Hadziabdic, Kanita
    Spahic, Rialda
    2018 3RD INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND ENGINEERING (UBMK), 2018, : 670 - 672
  • [24] Code smell detection using feature selection and stacking ensemble: An empirical investigation
    Alazba, Amal
    Aljamaan, Hamoud
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 138
  • [25] Model level code smell detection using EGAPSO based on similarity measures
    Saranya, G.
    Nehemiah, H. Khanna
    Kannan, A.
    Nithya, V.
    ALEXANDRIA ENGINEERING JOURNAL, 2018, 57 (03) : 1631 - 1642
  • [26] Reducing redundancy of test cases generation using code smell detection and refactoring
    Ibrahim, Rosziati
    Ahmed, Maryam
    Nayak, Richi
    Jamel, Sapiee
    JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2020, 32 (03) : 367 - 374
  • [27] A Novel Approach for Code Smell Detection: An Empirical Study
    Dewangan, Seema
    Rao, Rajwant Singh
    Mishra, Alok
    Gupta, Manjari
    IEEE ACCESS, 2021, 9 (09): : 162869 - 162883
  • [28] Functionality Based Code Smell Detection and Severity Classification
    Tiwari, Omkarendra
    Joshi, Rushikesh K.
    ISOFT: PROCEEDINGS OF THE 13TH INNOVATIONS IN SOFTWARE ENGINEERING CONFERENCE, 2020,
  • [29] Automatic metric thresholds derivation for code smell detection
    Fontana, Francesca Arcelli
    Ferme, Vincenzo
    Zanoni, Marco
    Yamashita, Aiko
    PROCEEDINGS SIXTH INTERNATIONAL WORKSHOP ON EMERGING TRENDS IN SOFTWARE METRICS WETSOM 2015, 2015, : 44 - 53
  • [30] On the relative value of imbalanced learning for code smell detection
    Li, Fuyang
    Zou, Kuan
    Keung, Jacky Wai
    Yu, Xiao
    Feng, Shuo
    Xiao, Yan
    SOFTWARE-PRACTICE & EXPERIENCE, 2023, 53 (10): : 1902 - 1927