首页> 外文期刊>Software, practice & experience >What factors influence the lifetime of pull requests?
【24h】

What factors influence the lifetime of pull requests?

机译:什么因素影响拉出请求的寿命?

获取原文
获取原文并翻译 | 示例
       

摘要

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)拉拉请求的评论数量以及负责审查的开发人员是其一生的重要预测因素。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号