arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.08441cs.SE
收藏

(No)持续集成对GitHub项目中提交活动的影响

(No) Influence of Continuous Integration on the Commit Activity in GitHub Projects

Sebastian Baltes, Jascha Knack, Daniel Anastasiou, Ralf Tymann, Stephan Diehl

摘要:

持续集成(CI)的核心目标是对软件项目进行小的增量更改,这些更改经常集成到主线存储库或分支中。本文提出了一个实证研究,调查如果开发人员调整他们的提交活动对上述目标后,项目开始使用CI。我们分析了93个GitHub项目中的提交和合并活动,这些项目引入了托管CI系统Travis CI,但在引入CI之前已经开发了至少一年。在我们的分析中,我们只发现了一个不可忽略的影响,即合并比率的增加,这意味着在项目开始使用Travis CI之后,合并提交相对于所有提交来说更多。这种效应在相关的研究中也有报道。然而,我们在60个未使用CI的GitHub项目的随机样本中观察到了同样的效果。因此,这种影响不太可能是单独引入CI引起的。我们的结论是:(1)在我们的项目样本中,CI的引入并没有导致开发人员的提交活动发生重大变化,(2)在将效果归因于可能不是观察到的效果的原因的治疗之前,将提交活动与基线进行比较是很重要的。

英文摘要:

A core goal of Continuous Integration (CI) is to make small incremental changes to software projects, which are integrated frequently into a mainline repository or branch. This paper presents an empirical study that investigates if developers adjust their commit activity towards the above-mentioned goal after projects start using CI. We analyzed the commit and merge activity in 93 GitHub projects that introduced the hosted CI system Travis CI, but have previously been developed for at least one year before introducing CI. In our analysis, we only found one non-negligible effect, an increased merge ratio, meaning that there were more merging commits in relation to all commits after the projects started using Travis CI. This effect has also been reported in related work. However, we observed the same effect in a random sample of 60 GitHub projects not using CI. Thus, it is unlikely that the effect is caused by the introduction of CI alone. We conclude that: (1) in our sample of projects, the introduction of CI did not lead to major changes in developers' commit activity, and (2) it is important to compare the commit activity to a baseline before attributing an effect to a treatment that may not be the cause for the observed effect.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑