arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.00073cs.SE
收藏

SATDBailiff-挖掘和跟踪自我承认的技术债务

SATDBailiff- Mining and Tracking Self-Admitted Technical Debt

Eman Abdullah AlOmar, Ben Christians, Mihal Busho, Ahmed Hamad AlKhalid, Ali Ouni, Christian Newman, Mohamed Wiem Mkaouer

摘要:

自我承认的技术债务(SATD)是一个隐喻性的概念,用来描述以源代码注释的形式向软件项目中添加的自我记录的技术债务。SATD可能会在项目中存在并降低源代码质量,但它也可能比无意中添加或未记录的技术债务更明显。理解将SATD添加到软件项目中的含义是很重要的,因为开发人员可以从更好地理解他们所做的质量权衡中受益。然而,分析SATD注释的生存性和删除的实证研究受到潜在代码更改或SATD注释更新的挑战,这些更改或更新可能会干扰正确跟踪它们的外观,存在和删除。在本文中,我们提出了SATDBailiff,一个使用现有的最先进的SATD检测工具的工具,以识别方法注释中的SATD,然后正确地跟踪它们的生命周期。SATDBailiff作为开源项目的输入链接,其输出是所有已识别SATD的列表,对于每个检测到的SATD,SATDBailiff报告所有相关更改,包括对其文本的任何更新,一直到报告其删除。SATDBailiff的目标是帮助研究人员和从业人员更好地跟踪SATD实例,并为他们提供一个可靠的工具,可以很容易地扩展。SATDBailiff使用先前检测到并手动验证的SATD实例的数据集进行验证。SATDBailiff作为一个开放源代码,以及与其验证相关的SATD实例的手动分析,可在项目网站上公开获得

英文摘要:

Self-Admitted Technical Debt (SATD) is a metaphorical concept to describe the self-documented addition of technical debt to a software project in the form of source code comments. SATD can linger in projects and degrade source-code quality, but it can also be more visible than unintentionally added or undocumented technical debt. Understanding the implications of adding SATD to a software project is important because developers can benefit from a better understanding of the quality trade-offs they are making. However, empirical studies, analyzing the survivability and removal of SATD comments, are challenged by potential code changes or SATD comment updates that may interfere with properly tracking their appearance, existence, and removal. In this paper, we propose SATDBailiff, a tool that uses an existing state-of-the-art SATD detection tool, to identify SATD in method comments, then properly track their lifespan. SATDBailiff is given as input links to open source projects, and its output is a list of all identified SATDs, and for each detected SATD, SATDBailiff reports all its associated changes, including any updates to its text, all the way to reporting its removal. The goal of SATDBailiff is to aid researchers and practitioners in better tracking SATDs instances and providing them with a reliable tool that can be easily extended. SATDBailiff was validated using a dataset of previously detected and manually validated SATD instances. SATDBailiff is publicly available as an open-source, along with the manual analysis of SATD instances associated with its validation, on the project website

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

↑