Towards a Prioritization of Code Debt: A Code Smell Intensity Index
October 2015 • Presentation
Francesca Arcelli Fontana (University of Milano Bicocca), Vincenzo Ferme (University of Milano–Bicocca), Marco Zanoni (University of Milano Bicocca), Riccardo Roveda (University of Milano–Bicocca)
This presentation provides an Intensity Index to determine the most critical instances of code smells, a source of technical debt in software, to aid in their removal.
Software Engineering Institute
This presentation was created for a conference series or symposium and does not necessarily reflect the positions and views of the Software Engineering Institute.
This presentation was part of the Seventh International Workshop on Managing Technical Debt, held in conjunction with the 31th International Conference on Software Maintenance and Evolution (ICSME 2015).
Code smells can be used to capture symptoms of code decay and potential maintenance problems that can be avoided by applying the right refactoring. They can be seen as a source of technical debt. However, tools for code smell detection often provide far too many and different results and identify many false-positive code smell instances. In fact, these tools are rooted on initial and rather informal code smell definitions. This represents a challenge to interpret their results in different ways. In this presentation, we provide an Intensity Index, to be used as an estimator to determine the most critical instances, prioritizing the examination of smells and, potentially, their removal. We apply Intensity on the detection of six well-known and common smells, and we report their Intensity distribution from an analysis performed on 74 systems of the Qualitas Corpus, showing how Intensity could be used to prioritize code smells inspection.