Technical debt in the software development lifecycle: code smells
Vladimir Vladimirovich Kachanov, M.K. Ermakov, Georgiy Pankratenko et al. · Proceedings of the Institute for System Programming of RAS · 2021
This paper is dedicated to the review of the most popular code smells, which is one of the technical debt components, in addition to methods and instruments for their detection. We conduct a comparative analysis of multiple instruments such as DesigniteJava, PMD, SonarQube. We apply existing tools to set of open-source projects to deduce detection precision and coherence of the selected instruments. We highlight strengths and weaknesses of the approach based on metrics computation and threshold filtering that is used in instruments. Citing of code smells detected by the instruments shows low percentage of true positives (10% for god class and 20% for complex method). We perform literature review of papers suggesting enhancements of the standard approach and alternative approaches that doesn’t involve metrics. To assess the potential of alternative methods we introduce our long method detection prototype with a false positive filtering system based on machine learning methods.
Cited by 5 works. doi:10.15514/ispras-2021-33(6)-7 Open-access PDF
Authors
- Vladimir Vladimirovich Kachanov
- M.K. Ermakov
- Georgiy Pankratenko
- Alexander Vyacheslavovich Spiridonov
- Alexander Sergeevich Volkov
- Markov Sergey
References
- Refactoring: Improving the Design of Existing Code
- Neural networks for classification: a survey
- Java quality assurance by detecting code smells
- Object-Oriented Metrics in Practice: Using Software Metrics to Characterize, Evaluate, and Improve the Design of Object-Oriented Systems
- An Exploratory Study of the Impact of Code Smells on Software Change-proneness
- Software metrics: successes, failures and new directions
- Comparing and experimenting machine learning techniques for code smell detection
- Are all code smells harmful? A study of God Classes and Brain Classes in the evolution of three open source systems
- Visualization-based analysis of quality for large-scale software systems
- Do They Really Smell Bad? A Study on Developers' Perception of Bad Code Smells