Characterizing the Occurrence of Dockerfile Smells in Open-Source Software: An Empirical Study

被引:20
|
作者
Wu, Yiwen [1 ,2 ]
Zhang, Yang [1 ,2 ]
Wang, Tao [1 ,2 ]
Wang, Huaimin [1 ,2 ]
机构
[1] Natl Univ Def Technol, Sci & Technol Parallel & Distributed Lab, Changsha 410073, Hunan, Peoples R China
[2] Natl Univ Def Technol, Key Lab Software Engn Complex Syst, Changsha 410073, Hunan, Peoples R China
基金
中国国家自然科学基金;
关键词
Containers; Open source software; Best practices; Databases; Buildings; Licenses; Docker; Dockerfile smells; Open-source software; GitHub;
D O I
10.1109/ACCESS.2020.2973750
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Dockerfile plays an important role in the Docker-based software development process, but many Dockerfile codes are infected with smells in practice. Understanding the occurrence of Dockerfile smells in open-source software can benefit the practice of Dockerfile and enhance project maintenance. In this paper, we perform an empirical study on a large dataset of 6,334 projects to help developers gain some insights into the occurrence of Dockerfile smells, including its coverage, distribution, co-occurrence, and correlation with project characteristics. Our results show that smells are very common in Dockerfile codes and there exists co-occurrence between different types of Dockerfile smells. Further, using linear regression analysis, when controlled for various variables, we statistically identify and quantify the relationships between Dockerfile smells occurrence and project characteristics. We also provide a rich resource of implications for software practitioners.
引用
收藏
页码:34127 / 34139
页数:13
相关论文
共 50 条
  • [1] Fixing Dockerfile smells: an empirical study
    Rosa, Giovanni
    Zappone, Federico
    Scalabrino, Simone
    Oliveto, Rocco
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (05)
  • [2] Characterizing User Behaviors in Open-Source Software User Forums: An Empirical Study
    Hellman, Jazlyn
    Chen, Jiahao
    Uddin, Md Sami
    Cheng, Jinghui
    Guo, Jin L. C.
    [J]. 15TH INTERNATIONAL CONFERENCE ON COOPERATIVE AND HUMAN ASPECTS OF SOFTWARE ENGINEERING (CHASE 2022), 2022, : 46 - 55
  • [3] Analyzing the Relationship between Community and Design Smells in Open-Source Software Projects: An Empirical Study
    Mumtaz, Haris
    Singh, Paramvir
    Blincoe, Kelly
    [J]. PROCEEDINGS OF THE16TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT, ESEM 2022, 2022, : 23 - 33
  • [4] Characterizing Commits in Open-Source Software
    Ferreira, Mivian M.
    Goncalves, Diego Santos
    Bigonha, Mariza A.S.
    Ferreira, Kecia A.M.
    [J]. ACM International Conference Proceeding Series, 2022,
  • [5] Characterizing Commits in Open-Source Software
    Ferreira, Mivian M.
    Goncalves, Diego Santos
    Bigonha, Mariza A. S.
    Ferreira, Kecia A. M.
    [J]. PROCEEDINGS OF THE 21TH BRAZILIAN SYMPOSIUM ON SOFTWARE QUALITY, SBOS 2022, 2022,
  • [6] An Empirical Study of Architectural Decay in Open-Source Software
    Duc Minh Le
    Link, Daniel
    Shahbazian, Arman
    Medvidovic, Nenad
    [J]. 2018 IEEE 15TH INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE (ICSA), 2018, : 176 - 185
  • [7] Characterizing Logging Practices in Open-Source Software
    Yuan, Ding
    Park, Soyeon
    Zhou, Yuanyuan
    [J]. 2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2012, : 102 - 112
  • [8] An empirical study of open-source and closed-source software products
    Paulson, JW
    Succi, G
    Eberlein, A
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (04) : 246 - 256
  • [9] An Empirical Study of Architectural Change in Open-Source Software Systems
    Le, Duc Minh
    Behnamghader, Pooyan
    Garcia, Joshua
    Link, Daniel
    Shahbazian, Arman
    Medvidovic, Nenad
    [J]. 12TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2015), 2015, : 235 - 245
  • [10] AN EMPIRICAL STUDY ON DESIGN PATTERN USAGE ON OPEN-SOURCE SOFTWARE
    Apostolos, Ampatzoglou
    Kyriaki, Savva
    Ioannis, Stamelos
    Sofia, Charalampidou
    [J]. ENASE 2010: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2010, : 275 - 283