Technical Debt is a metaphor used to describe the situation in which long-term code quality is traded for short-term goals in software projects. In recent years, the concept of self-admitted technical debt (SATD) was proposed, which focuses on debt that is intentionally introduced and described by developers. Although prior work has made important observations about admitted technical debt in source code, little is known about SATD in build systems. In this paper, we coin the term Self-Admitted Build Debt (SABD) and through a qualitative analysis of 500 SABD comments in the Maven build system of 300 projects, we characterize SABD by location and rationale (reason and purpose). Our results show that limitations in tools and libraries, and complexities of dependency management are the most frequent causes, accounting for 49% and 23% of the comments. We also find that developers often document SABD as issues to be fixed later. To automate the detection of SABD rationale, we train classifiers to label comments according to the surrounding document content. The classifier performance is promising, achieving an F1-score of 0.67-0.75. Finally, within 16 identified 'ready-to-be-addressed' SABD instances, the three SABD submitted by pull requests and the five SABD submitted by issue reports were resolved after developers were made aware. Our work presents the first step towards understanding technical debt in build systems and opens up avenues for future work, such as tool support to track and manage SABD backlogs.
翻译:技术债务是一种比喻,用来描述软件项目短期目标长期代码质量交易的情况;近年来,提出了自我承认的技术债务概念(SATD),重点是开发商有意提出和描述的债务;虽然先前的工作对源代码中承认的技术债务提出了重要意见,但在建筑系统中对SATD却知之甚少;在本文件中,我们用自我承认的建设债务(SABD)这一术语来形容长期代码质量分析300个项目马文建设系统中500项SABD的积压评论,我们按地点和理由(理由和目的)来描述SABD的特征;我们的结果显示,工具和图书馆的局限性以及依赖性管理的复杂性是最经常出现的原因,占评论的49%和23%;我们还认为,开发商经常将SABD作为待解决的问题记录,为了自动披露的理由,我们训练分类者根据周围文件内容对系统的评论进行标签。 叙级业绩大有希望,从地点和理由(理由和目的)将SABDD分为F1核心部分,最后,在16个已查明的SAB轨道中,在SAB数据库之后,通过S-D系列中提出了S-AD要求。