一句话:用因果分析量化 Kubernetes 配置脚本中次要贡献者对缺陷的影响,发现其提交与缺陷相关。
Kubernetes 是流行的容器编排开源工具,但其配置脚本中的缺陷可能导致严重后果。本文针对导致缺陷的开发因素开展探索性实证研究,提出并量化“次要贡献者”因素,即编写代码量少于总代码 5% 的开发者。作者从 157 个开源仓库中分析 29,028 次提交,并采用因果分析评估次要贡献者作者身份对配置脚本缺陷的影响。结果显示,5.6% 的提交由次要贡献者撰写,且其作者身份会影响缺陷。基于此,作者建议进一步研究次要贡献者的特征,并识别其他对 Kubernetes 配置脚本缺陷有因果影响的开发因素。
Kubernetes is a popular open source software (OSS) tool to manage containers at scale. Despite being beneficial for rapid deployment, Kubernetes-based software deployments are susceptible to defects that can lead to serious consequences. A systematic analysis of development-related factors that cause defects can aid practitioners on how to mitigate these defects. We conduct an exploratory empirical study where we use causal analysis to quantify the impact of one development factor called minor contributors, which refers to practitioners who author < 5% of the total code. By analyzing 29,028 commits from 157 OSS repositories, we observe (i) 5.6% of the 29,028 commits to be authored by minor contributors; and (ii) authorship of minor contributors to impact defects in configuration scripts. Based on our findings, we recommend researchers to (1) further investigate the characteristics of minor contributors; and (2) identify other development-related factors that may have a causal impact on defects in Kubernetes configuration scripts.