当前位置: X-MOL 学术Softw. Pract. Exp. › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
What factors influence the lifetime of pull requests?
Software: Practice and Experience ( IF 3.5 ) Pub Date : 2020-12-21 , DOI: 10.1002/spe.2946
Daricélio Moreira Soares 1 , Manoel Limeira Lima Júnior 1 , Leonardo Murta 2 , Alexandre Plastino 2
Affiliation  

When external contributors want to collaborate with an open‐source project, they fork the repository, make changes, and send a pull request to the core team. However, the lifetime of a pull request, defined by the time interval between its opening and its closing, has a high variation, potentially affecting the contributor engagement. In this context, understanding the root causes of pull request lifetime is important to both the external contributors and the core team. The former can adopt strategies that increase the chances of fast review, while the latter can establish priorities in the reviewing process, alleviating the pending tasks and improving the software quality. In this work, we mined association rules from 97,463 pull requests from 30 projects in order to find characteristics that have affected the pull requests lifetime. In addition, we present a qualitative analysis, helping to understand the patterns discovered from the association rules. The results indicate that: (i) contributions with shorter lifetimes tend to be accepted; (ii) structural characteristics, such as number of commits, changed files, and lines of code, have influence, in an isolated or combined way, on the pull request lifetime; (iii) the files changed and the directories to which they belong can be robust predictors for pull request lifetime; (iv) the profile of external contributors and their social relationships have influence on lifetime; and (v) the number of comments in a pull request, as well as the developer responsible for the review, are important predictors for its lifetime.

中文翻译:

哪些因素会影响请求请求的生命周期?

当外部贡献者希望与开源项目合作时,他们会分叉存储库,进行更改,然后向核心团队发送请求请求。但是,拉取请求的生存期(由其打开和关闭之间的时间间隔定义)变化很大,有可能影响贡献者的参与度。在这种情况下,了解拉取请求生存期的根本原因对于外部贡献者和核心团队都非常重要。前者可以采用增加快速审阅机会的策略,而后者可以在审阅过程中确定优先级,从而减轻待处理的任务并提高软件质量。在这项工作中,我们从30个项目的97,463个拉取请求中挖掘了关联规则,以查找影响拉取请求生存期的特征。此外,我们提供了定性分析,有助于理解从关联规则中发现的模式。结果表明:(i)寿命较短的捐助往往被接受;(ii)诸如提交次数,更改的文件和代码行之类的结构特征以单独或组合的方式影响了拉取请求的生存期;(iii)更改的文件及其所属的目录可以作为拉取请求生命周期的可靠预测器;(iv)外部贡献者的形象及其社会关系对一生都有影响;(v)拉取请求中的评论数量以及负责审核的开发人员是其生命周期的重要预测指标。结果表明:(i)寿命较短的捐助往往被接受;(ii)诸如提交次数,更改的文件和代码行之类的结构特征以单独或组合的方式影响了拉取请求的生存期;(iii)更改的文件及其所属的目录可以作为拉取请求生命周期的可靠预测器;(iv)外部贡献者的形象及其社会关系对一生有影响;(v)拉取请求中的评论数量以及负责审核的开发人员是其生命周期的重要预测指标。结果表明:(i)寿命较短的捐助往往被接受;(ii)诸如提交次数,更改的文件和代码行之类的结构特征以单独或组合的方式影响了拉取请求的生存期;(iii)更改的文件及其所属的目录可以作为拉取请求生命周期的可靠预测器;(iv)外部贡献者的形象及其社会关系对一生有影响;(v)拉取请求中的评论数量以及负责审核的开发人员是其生命周期的重要预测指标。在请求请求的生命周期中;(iii)更改的文件及其所属的目录可以作为拉取请求生命周期的可靠预测器;(iv)外部贡献者的形象及其社会关系对一生有影响;(v)拉取请求中的评论数量以及负责审核的开发人员是其生命周期的重要预测指标。在请求请求的生命周期中;(iii)更改的文件及其所属的目录可以作为拉取请求生命周期的可靠预测器;(iv)外部贡献者的形象及其社会关系对一生有影响;(v)拉取请求中的评论数量以及负责审核的开发人员是其生命周期的重要预测指标。
更新日期:2020-12-21
down
wechat
bug