Empirical Assessment on Interactive Detection of Code Smells

Danyllo Albuquerque, Everton Guimaraes, Alexandre Braga, Mirko Perkusich, Hyggo Almeida, Angelo Perkusich

Research output: Chapter in Book/Report/Conference proceedingConference contribution

4 Scopus citations

Abstract

Code smell detection is traditionally supported by Non-Interactive Detection (NID) techniques, which enable devel-opers to reveal smells in later software versions. These techniques only reveal smells in the source code upon an explicit developer request and do not support progressive interaction with affect code. The later code smells are detected, the higher the effort to refactor the affected code. The notion of Interactive Detection (ID) has emerged to address NID's limitations. An ID technique reveals code smell instances without an explicit developer request, encouraging early detection of code smells. Even though ID seems promising, there is a lack of evidence concerning its impact on code smell detection. Our research focused on evaluating the effectiveness of the ID technique on code smell detection. For doing so, we conducted a controlled experiment where 16 subjects underwent experimental tasks. We concluded that using the ID technique led to an increase of 60% in recall and up to 13% in precision when detecting code smells. Consequently, developers could identify more refactoring opportunities using the ID technique than the NID.

Original languageEnglish (US)
Title of host publication2022 30th International Conference on Software, Telecommunications and Computer Networks, SoftCOM 2022
EditorsDinko Begusic, Nikola Rozic, Josko Radic, Matko Saric
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9789532901177
DOIs
StatePublished - 2022
Event30th International Conference on Software, Telecommunications and Computer Networks, SoftCOM 2022 - Split, Croatia
Duration: Sep 22 2022Sep 24 2022

Publication series

Name2022 30th International Conference on Software, Telecommunications and Computer Networks, SoftCOM 2022

Conference

Conference30th International Conference on Software, Telecommunications and Computer Networks, SoftCOM 2022
Country/TerritoryCroatia
CitySplit
Period9/22/229/24/22

All Science Journal Classification (ASJC) codes

  • Computer Networks and Communications
  • Software

Fingerprint

Dive into the research topics of 'Empirical Assessment on Interactive Detection of Code Smells'. Together they form a unique fingerprint.

Cite this