Characterizing and Mitigating Self-Admitted Technical Debt in Build Systems

Tao Xiao, Dong Wang, Shane McIntosh, Hideaki Hata, Raula Gaikovina Kula +2 more
2/19/2021
30 citations
cs.SE

Official code: takashi-ishio/CommentLister (13 stars, ANTLR, MIT, last commit 2026-10-18). 1 more implementation below.

Abstract

Technical Debt is a metaphor used to describe the situation in which long-term software artifact 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.

Show full abstract

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 set out to better understand the characteristics of SATD in build systems. To do so, through a qualitative analysis of 500 SATD comments in the Maven build system of 291 projects, we characterize SATD 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 50% and 24% of the comments. We also find that developers often document SATD as issues to be fixed later. As a first step towards the automatic detection of SATD rationale, we train classifiers to detect the two most frequently occurring reasons and the four most frequently occurring purposes of SATD in the content of comments in Maven build systems. The classifier performance is promising, achieving an F1-score of 0.71-0.79. Finally, within 16 identified 'ready-to-be-addressed' SATD instances, the three SATD submitted by pull requests and the five SATD 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 SATD backlogs.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
takashi-ishio/CommentListerOfficial13ANTLRMIT2026-10-18
NAIST-SE/SATDinBuildSystemsOfficial2Jupyter NotebookCC0-1.02021-10-14
MIT

A tool to extract comments from source files in a git repo

138ANTLR, JavaJan 24, 20181 months agoMIT
CC0-1.0

Research Artifact: Characterizing and Mitigating Self-Admitted Technical Debt in Build Systems

23Jupyter Notebook, PythonSep 24, 20205 years agoCC0-1.0

Similar Papers

Cite this paper

@article{xiao2021characterizing,
  title  = {Characterizing and Mitigating Self-Admitted Technical Debt in Build Systems},
  author = {Tao Xiao and Dong Wang and Shane McIntosh and Hideaki Hata and Raula Gaikovina Kula and Takashi Ishio and Kenichi Matsumoto},
  year   = {2021},
  eprint = {2102.09775},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.09775}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.09775.svg)](https://codeofpaper.com/paper/2102.09775)

Discussion