|国家预印本平台
首页|Detection of Technical Debt in Java Source Code

Detection of Technical Debt in Java Source Code

Detection of Technical Debt in Java Source Code

来源:Arxiv_logoArxiv
英文摘要

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 technical debts 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 technical debt. We believe that our dataset will catalyze future work in the domain, inspiring various research related to the recognition of technical debt; The proposed classifiers may serve as baselines for studies on the detection of TD.

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

计算技术、计算机技术

Phuong T. Nguyen,Anh M. T. Bui,Davide Di Ruscio,Rick Kazman,Nam Le Hai.Detection of Technical Debt in Java Source Code[EB/OL].(2025-08-09)[2025-08-24].https://arxiv.org/abs/2411.05457.点此复制

评论