An empirical study on self-admitted technical debt in Dockerfiles


연구 분야: Software Development



학회: Empirical Software Engineering


초록

In software development, ad hoc solutions that are intentionally implemented by developers are called self-admitted technical debt (SATD). Because the existence of SATD spreads poor implementations, it is necessary to remove it as soon as possible. Meanwhile, container virtualization has been attracting attention in recent years as a technology to support infrastructure such as servers. Currently, Docker is the de facto standard for container virtualization. In Docker, a file describing how to build a container (Dockerfile) is a set of procedural instructions; thus, it can be considered as a kind of source code. Moreover, because Docker is a relatively new technology, there are few developers who have accumulated good or bad practices for building Docker container. Hence, it is likely that Dockerfiles contain many SATDs, as is the case with general programming language source code analyzed in previous SATD studies. The goal of this paper is to categorize SATDs in Dockerfiles and to share knowledge with developers and researchers. To achieve this goal, we conducted a manual classification for SATDs in Dockerfile. We found that about 3.0% of the comments in Dockerfile are SATD. In addition, we have classified SATDs into five classes and eleven subclasses. Among them, there are some SATDs specific to Docker, such as SATDs for version fixing and for integrity check. The three most common classes of SATD were related to lowering maintainability, testing, and defects.


Author Profile
Hideaki Azuma

Graduate School of Information Science and Technology Osaka University Osaka Japan

Andorra
Author Profile
Shinsuke Matsumoto

Graduate School of Information Science and Technology Osaka University Osaka Japan

Andorra
Author Profile
Yasutaka Kamei

Faculty of Information Science and Electrical Engineering Kyushu University Fukuoka Japan

Andorra

📄 논문 정보

발행 연도 2022년
인용수 21
출판 국가 Andorra
사이트 Springer
좋아요 수 0

연관 논문 목록 (352건)