International Conference Peer-reviewed Short paper

How Do Developers Select and Prioritize Code Smells? A Preliminary Study

Natthawute Sae-Lim, Shinpei Hayashi, Motoshi Saeki

In Proceedings of the 33rd IEEE International Conference on Software Maintenance and Evolution (ICSME 2017), pp. 484–488, Shanghai, China, September 2017.

Abstract

Code smells are considered to be indicators of design flaws or problems in source code. Various tools and techniques have been proposed for detecting code smells. The number of code smells detected by these tools is generally large, so approaches have also been developed for prioritizing and filtering code smells. However, the lack of empirical data regarding how developers select and prioritize code smells hinders improvements to these approaches. In this study, we investigated professional developers to determine the factors they use for selecting and prioritizing code smells. We found that Task relevance and Smell severity were most commonly considered during code smell selection, while Module importance and Task relevance were employed most often for code smell prioritization. These results may facilitate further research into code smell detection, prioritization, and filtration to better focus on the actual needs of developers.

Related papers

Continued in

BibTeX

@inproceedings{natthawute-icsme2017,
    author = {Natthawute Sae-Lim and Shinpei Hayashi and Motoshi Saeki},
    title = {How Do Developers Select and Prioritize Code Smells? A Preliminary Study},
    booktitle = {Proceedings of the 33rd IEEE International Conference on Software Maintenance and Evolution},
    pages = {484--488},
    doi = {10.1109/ICSME.2017.66},
    year = 2017,
}
Type
International Conference
Conference
ICSME 2017
Location
Shanghai, China
Presented
September 21, 2017
Volume / Pages
pp. 484–488
Acceptance rate
15/26 (58%)
DOI
10.1109/ICSME.2017.66