EUVIMEDEUVIMED entdecken
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 · 31.12.2026 · 35 (12) · 1-36

DOI: 10.1145/3801745 ↗

Kurz gefasst

Fachartikel in der Zeitschrift ACM Transactions on Software Engineering and Methodology, online erschienen am 18.11.2026. Verfasst von Nam Le Hai und 4 weiteren Autor:innen. Die Arbeit wurde bisher 1-mal zitiert (Crossref) und nennt 88 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: 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.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

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.

Förderung

  • 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

Zitieren

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}
}
Kostenlos starten →