EUVIMEDSkopri EUVIMED
Open access · CC BY 4.0

Detection of Technical Debt in Java Source Code

Nam Le Hai, Anh M. T. Bui, Phuong T. Nguyen, Davide Di Ruscio, Rick Kazman

ACM Transactions on Software Engineering and Methodology · 2026-12-31 · 35 (12) · 1-36

DOI: 10.1145/3801745 ↗

At a glance

Journal article in ACM Transactions on Software Engineering and Methodology, published online on 2026-11-18. Written by Nam Le Hai and 4 co-authors. Cited 1 times so far (Crossref); 88 references. The full text is freely available (open access, CC BY 4.0). Funded by: European Union under the Horizon Research and Innovation Action, MUR under the PRIN 2020 program, European Union–NextGenerationEU, through the Italian Ministry of University and Research (MUR), PRIN 2022 PNRR project FRINGE.

AstrattDettalji biblijografiċiCiteRelated studies

Abstract (original language)

Technical debt (TD) describes the additional costs that emerge when developers have opted for a quick and easy solution to a problem, rather than a more effective and well-designed, but time-consuming approach. Self-admitted technical debts (SATDs) are a specific type of TDs that developers intentionally document and acknowledge, typically via textual comments. While these comments are a useful tool for identifying TD, most of the existing approaches focus on capturing tokens associated with various categories of TD, neglecting the rich information embedded within the source code. Recent research has focused on detecting SATDs by analyzing comments, and there has been little work dealing with TD contained in the source code. In this study, through the analysis of comments and their source code from 974 Java projects, we curated the first ever dataset of TD identified by code comments, coupled with its code. We found that including the classified code significantly improves the accuracy in predicting various types of TD. We believe that our dataset will catalyze future work in the domain, inspiring various research related to the recognition of TD; the proposed classifiers may serve as baselines for studies on the detection of TD.

Funding

  • European Union under the Horizon Research and Innovation Action
  • MUR under the PRIN 2020 program
  • European Union–NextGenerationEU, through the Italian Ministry of University and Research (MUR), PRIN 2022 PNRR project FRINGE
  • Italian Ministry of University and Research (MUR), PRIN 2022 project TRex-SE
  • Vingroup Innovation Foundation (VINIF), VinUniversity, PhD Scholarship Programme

Cite

APA

Hai, N. L., Bui, A. M. T., Nguyen, P. T., Ruscio, D. D., & Kazman, R. (2026). Detection of Technical Debt in Java Source Code. ACM Transactions on Software Engineering and Methodology, 35(12), 1-36. https://doi.org/10.1145/3801745

Vancouver

Hai NL, Bui AMT, Nguyen PT, Ruscio DD, Kazman R. Detection of Technical Debt in Java Source Code. ACM Transactions on Software Engineering and Methodology. 2026;35(12):1-36. doi:10.1145/3801745

BibTeX
@article{Hai2026,
  author = {Hai, Nam Le and Bui, Anh M. T. and Nguyen, Phuong T. and Ruscio, Davide Di and Kazman, Rick},
  title = {Detection of Technical Debt in Java Source Code},
  journal = {ACM Transactions on Software Engineering and Methodology},
  year = {2026},
  volume = {35},
  number = {12},
  pages = {1--36},
  doi = {10.1145/3801745}
}
Start for free →