arrow
Return

Machine Learning for Technical Debt Identification

delete2021-01-01
delete10
delete
OA
AI
D
Dimitrios Tsoukalas *
N
Nikolaos Mittas
A
Alexandros Chatzigeorgiou
D
Dionysios Kehagias
A
Apostolos Ampatzoglou
T
Theodoros Amanatidis
L
Lefteris Angelis
DOI:10.1109/TSE.2021.3129355delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Technical Debt (TD) is a successful metaphor in conveying the consequences of software inefficiencies and their elimination to both technical and non-technical stakeholders, primarily due to its monetary nature. The identification and quantification of TD rely heavily on the use of a small handful of sophisticated tools that check for violations of certain predefined rules, usually through static analysis. Different tools result in divergent TD estimates calling into question the reliability of findings derived by a single tool. To alleviate this issue we use 18 metrics pertaining to source code, repository activity, issue tracking, refactorings, duplication and commenting rates of each class as features for statistical and Machine Learning models, so as to classify them as High-TD or not. As a benchmark we exploit 18,857 classes obtained from 25 Java projects, whose high levels of TD has been confirmed by three leading tools. The findings indicate that it is feasible to identify TD issues with sufficient accuracy and reasonable effort: a subset of superior classifiers achieved an F$_2$2-measure score of approximately 0.79 with an associated Module Inspection ratio of approximately 0.10. Based on the results a tool prototype for automatically assessing the TD of Java projects has been implemented.
Keywords:
Machine learning
metrics
measurement
quality analysis and evaluation
software maintenance

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.8K
Citations:
1.1W

Organization

I
International Hellenic University
Scholars:
2.0K
Papers: 1.7K
Citations: 1.8K
A
aristotle university of thessaloniki
Scholars:
2.6W
Papers: 2.0W
Citations: 19
U
University of Macedonia
Scholars:
824
Papers: 915
Citations: 536
researcher View more organizations