Abstract:
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.
Citation:
V. V. Kachanov, M. K. Ermakov, G. A. Pankratenko, A. V. Spiridonov, A. S. Volkov, S. I. Markov, “Technical debt in the software development lifecycle: code smells”, Proceedings of ISP RAS, 33:6 (2021), 95–110
\Bibitem{KacErmPan21}
\by V.~V.~Kachanov, M.~K.~Ermakov, G.~A.~Pankratenko, A.~V.~Spiridonov, A.~S.~Volkov, S.~I.~Markov
\paper Technical debt in the software development lifecycle: code smells
\jour Proceedings of ISP RAS
\yr 2021
\vol 33
\issue 6
\pages 95--110
\mathnet{http://mi.mathnet.ru/tisp648}
\crossref{https://doi.org/10.15514/ISPRAS-2021-33(6)-7}
Linking options:
https://www.mathnet.ru/eng/tisp648
https://www.mathnet.ru/eng/tisp/v33/i6/p95
This publication is cited in the following 2 articles:
Windi Eka Yulia Retnani, Daniel Siahaan, Saiful Bukhori, Tio Dharmawan, Johar Bayu, 2024 IEEE 2nd International Conference on Electrical Engineering, Computer and Information Technology (ICEECIT), 2024, 354
V. V. Kachanov, S. I. Markov, V. I. Tsurkov, “MAShINNOE OBUChENIE V PROBLEME TEKhNIChESKOGO DOLGA PROGRAMMNOGO OBESPEChENIYa”, Izvestiya Rossiiskoi akademii nauk. Teoriya i sistemy upravleniya, 2023, no. 4, 98