arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.01136cs.SEcs.IRcs.LGcs.PL
收藏

Descriptor:C++自认技术债数据集(CppSATD)

Descriptor: C++ Self-Admitted Technical Debt Dataset (CppSATD)

University of Oulu(奥卢大学)

Phuoc Pham, Murali Sridharan, Matteo Esposito, Valentina Lenarduzzi

AI总结:

为解决现有SATD研究局限于Java语言的问题,本文提出了包含超53万条注释的C++自认技术债数据集CppSATD,为跨语言SATD检测与泛化研究奠定基础。

摘要:

在软件开发中,技术债(TD)是指开发者为满足紧急的截止日期和有限的资源而做出的次优实现选择,这给未来的维护带来了挑战。自认技术债(SATD)是TD的一个子类型,代表开发者“公开承认”的特定TD实例,通常通过源代码注释来表达。以往关于SATD的研究主要集中在Java编程语言上,揭示了跨语言SATD方面的显著差距。这种狭窄的关注点限制了现有发现以及SATD检测技术在多种编程语言中的泛化能力。我们的工作通过引入CppSATD来解决这一限制,这是一个专门的C++ SATD数据集,包含超过531,000条带注释的注释及其源代码上下文。我们的数据集可以作为未来研究的基础,旨在开发C++中的SATD检测方法,将现有发现推广到其他语言,或为跨语言SATD研究贡献新的见解。

英文摘要:

In software development, technical debt (TD) refers to suboptimal implementation choices made by the developers to meet urgent deadlines and limited resources, posing challenges for future maintenance. Self-Admitted Technical Debt (SATD) is a sub-type of TD, representing specific TD instances ``openly admitted'' by the developers and often expressed through source code comments. Previous research on SATD has focused predominantly on the Java programming language, revealing a significant gap in cross-language SATD. Such a narrow focus limits the generalizability of existing findings as well as SATD detection techniques across multiple programming languages. Our work addresses such limitation by introducing CppSATD, a dedicated C++ SATD dataset, comprising over 531,000 annotated comments and their source code contexts. Our dataset can serve as a foundation for future studies that aim to develop SATD detection methods in C++, generalize the existing findings to other languages, or contribute novel insights to cross-language SATD research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑