International Journal Peer-reviewed

An Investigative Study on How Developers Filter and Prioritize Code Smells

Natthawute Sae-Lim, Shinpei Hayashi, Motoshi Saeki

IEICE Transactions on Information and Systems, vol. E101-D, no. 7, pp. 1733–1742, July 2018.

Published by the IEICE: IEICE Transactions Online.

Abstract

Code smells are indicators of design flaws or problems in the source code. Various tools and techniques have been proposed for detecting code smells. These tools generally detect a large number of code smells, so approaches have also been developed for prioritizing and filtering code smells. However, lack of empirical data detailing how developers filter and prioritize code smells hinders improvements to these approaches. In this study, we investigated ten professional developers to determine the factors they use for filtering and prioritizing code smells in an open source project under the condition that they complete a list of five tasks. In total, we obtained 69 responses for code smell filtration and 50 responses for code smell prioritization from the ten professional developers. We found that Task relevance and Smell severity were most commonly considered during code smell filtration, 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

This work builds on

BibTeX

@article{natthawute-ieicet201807,
    author = {Natthawute Sae-Lim and Shinpei Hayashi and Motoshi Saeki},
    title = {An Investigative Study on How Developers Filter and Prioritize Code Smells},
    journal = {IEICE Transactions on Information and Systems},
    volume = {E101-D},
    number = 7,
    pages = {1733--1742},
    doi = {10.1587/transinf.2017KBP0006},
    year = 2018,
}
Type
International Journal
Published
July 2018
Volume / Pages
vol. E101-D, no. 7, pp. 1733–1742
DOI
10.1587/transinf.2017KBP0006