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 条
  • [1] Using Code Evolution Information to Improve the Quality of Labels in Code Smell Datasets
    Wang, Yijun
    Hu, Songyuan
    Yin, Linfeng
    Zhou, Xiaocong
    [J]. 2018 IEEE 42ND ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 1, 2018, : 48 - 53
  • [2] Code Smell Detection Using Whale Optimization Algorithm
    Draz, Moatasem M.
    Farhan, Marwa S.
    Abdulkader, Sarah N.
    Gafar, M. G.
    [J]. CMC-COMPUTERS MATERIALS & CONTINUA, 2021, 68 (02): : 1919 - 1935
  • [3] Dynamic and Automatic Feedback-Based Threshold Adaptation for Code Smell Detection
    Liu, Hui
    Liu, Qiurong
    Niu, Zhendong
    Liu, Yang
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (06) : 544 - 558
  • [4] How Do Developers Refactor Code to Improve Code Reusability?
    AlOmar, Eman Abdullah
    Rodriguez, Philip T.
    Bowman, Jordan
    Wang, Tianjia
    Adepoju, Benjamin
    Lopez, Kevin
    Newman, Christian
    Ouni, Ali
    Mkaouer, Mohamed Wiem
    [J]. REUSE IN EMERGING SOFTWARE ENGINEERING PRACTICES, ICSR 2020, 2020, 12541 : 261 - 276
  • [5] Code Smell Detection Using Ensemble Machine Learning Algorithms
    Dewangan, Seema
    Rao, Rajwant Singh
    Mishra, Alok
    Gupta, Manjari
    [J]. APPLIED SCIENCES-BASEL, 2022, 12 (20):
  • [6] Leveraging code smell detection with inter-smell relations
    Pietrzak, Blazej
    Walter, Bartosz
    [J]. EXTREME PROGRAMMING AND AGILE PROCESSES IN SOFTWARE ENGINEERING, PROCEEDINGS, 2006, 4044 : 75 - 84
  • [7] How to Improve Deep Learning for Software Analytics (a case study with code smell detection)
    Yedida, Rahul
    Menzies, Tim
    [J]. 2022 MINING SOFTWARE REPOSITORIES CONFERENCE (MSR 2022), 2022, : 156 - 166
  • [8] Polyglot Code Smell Detection for Infrastructure as Code with GLITCH
    Saavedra, Nuno
    Goncalves, Joao
    Henriques, Miguel
    Ferreira, Joao F.
    Mendes, Alexandra
    [J]. 2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE, 2023, : 2042 - 2045
  • [9] An Insight into Code Smell Detection Tool
    Mourya, Shrasti
    Singh, Piyush Pratap
    Singh, V.B.
    [J]. Springer Series in Reliability Engineering, 2024, Part F2569 : 245 - 273
  • [10] Textual Analysis for Code Smell Detection
    Palomba, Fabio
    [J]. 2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 2, 2015, : 769 - 771