To what extent can maintenance problems be predicted by code smell detection? -An empirical study (bibtex)
by Yamashita, Aiko and Moonen, Leon
Abstract:
Context: Code smells are indicators of poor coding and design choices that can cause problems during software maintenance and evolution. Objective: This study is aimed at a detailed investigation to which extent problems in maintenance projects can be predicted by the detection of currently known code smells. Method: A multiple case study was conducted, in which the problems faced by six developers working on four different Java systems were registered on a daily basis, for a period up to four weeks. Where applicable, the files associated to the problems were registered. Code smells were detected in the pre-maintenance version of the systems, using the tools Borland Together and InCode. In-depth examination of quantitative and qualitative data was conducted to determine if the observed problems could be explained by the detected smells. Results: From the total set of problems, roughly 30% percent were related to files containing code smells. In addition, interaction effects were observed amongst code smells, and between code smells and other code characteristics, and these effects led to severe problems during maintenance. Code smell interactions were observed between collocated smells (i.e., in the same file), and between coupled smells (i.e., spread over multiple files that were coupled). Conclusions: The role of code smells on the overall system maintainability is relatively minor, thus complementary approaches are needed to achieve more comprehensive assessments of maintainability. Moreover, to improve the explanatory power of code smells, interaction effects amongst collocated smells and coupled smells should be taken into account during analysis. \textcopyright 2013 Elsevier B.V. All rights reserved.
Reference:
To what extent can maintenance problems be predicted by code smell detection? -An empirical study (Yamashita, Aiko and Moonen, Leon), In Information and Software Technology, volume 55, 2013.
Bibtex Entry:
@article{Yamashita20132223,
abstract = {Context: Code smells are indicators of poor coding and design choices that can cause problems during software maintenance and evolution. Objective: This study is aimed at a detailed investigation to which extent problems in maintenance projects can be predicted by the detection of currently known code smells. Method: A multiple case study was conducted, in which the problems faced by six developers working on four different Java systems were registered on a daily basis, for a period up to four weeks. Where applicable, the files associated to the problems were registered. Code smells were detected in the pre-maintenance version of the systems, using the tools Borland Together and InCode. In-depth examination of quantitative and qualitative data was conducted to determine if the observed problems could be explained by the detected smells. Results: From the total set of problems, roughly 30{\%} percent were related to files containing code smells. In addition, interaction effects were observed amongst code smells, and between code smells and other code characteristics, and these effects led to severe problems during maintenance. Code smell interactions were observed between collocated smells (i.e., in the same file), and between coupled smells (i.e., spread over multiple files that were coupled). Conclusions: The role of code smells on the overall system maintainability is relatively minor, thus complementary approaches are needed to achieve more comprehensive assessments of maintainability. Moreover, to improve the explanatory power of code smells, interaction effects amongst collocated smells and coupled smells should be taken into account during analysis. {\textcopyright} 2013 Elsevier B.V. All rights reserved.},
author = {Yamashita, Aiko and Moonen, Leon},
doi = {10.1016/j.infsof.2013.08.002},
isbn = {0950-5849},
issn = {09505849},
journal = {Information and Software Technology},
keywords = {Code smells,Empirical study,Maintainability,cocome_lit-review},
mendeley-tags = {cocome_lit-review},
number = {12},
pages = {2223--2242},
title = {{To what extent can maintenance problems be predicted by code smell detection? -An empirical study}},
url = {http://www.sciencedirect.com/science/article/pii/S0950584913001614},
volume = {55},
year = {2013}
}
Powered by bibtexbrowser