首页> 外文会议>International Conference on Software Quality, Reliability and Security >Is There A 'Golden' Rule for Code Reviewer Recommendation? : —An Experimental Evaluation
【24h】

Is There A 'Golden' Rule for Code Reviewer Recommendation? : —An Experimental Evaluation

机译:代码审阅者建议是否有“金色”规则? :-AN实验评估

获取原文

摘要

Peer code review has been proven to be an effective practice for quality assurance, and widely adopted by commercial companies and open source communities as GitHub. However, identifying an appropriate code reviewer for a pull request is a non-trivial task considering the large number of candidate reviewers. Several approaches have been proposed for reviewer recommendation, yet none of them has conducted a complete comparison to explore which one is more effective. This paper aims at conducting an experimental evaluation of the commonly-used and state-of-the-art approaches for code reviewer recommendation. We begin with a systematic review of approaches for code reviewer recommendation, and choose six approaches for experimental evaluation. We then implement these approaches and conduct reviewer recommendation on 12 large-scale open source projects with 53,005 pull requests spanning two years. Results show that there is no golden rule when selecting code reviewer recommendation approaches, and the best approach varies in terms of different evaluation metrics (e.g., Top-5 Accuracy, MRR) and experimental projects. Nevertheless, TIE, which utilizes the textual similarity and file path similarity, is the most promising one. We also explore the sensitivity of these approaches to training data, and compare their time cost. This approach provides new insights and practical guidelines for choosing approaches for reviewer recommendation.
机译:同行守则审查已被证明是质量保证的有效实践,并通过商业公司和开源社区作为GitHub的公开源。然而,考虑大量候选审阅者,识别用于拉出请求的适当代码审阅者是一个非琐碎的任务。已经提出了用于审稿人建议的几种方法,但他们都没有进行完整的比较,探索哪一个更有效。本文旨在对代码审查员建议进行常用和最先进的方法进行实验评估。我们从对代码审查员建议的方法进行系统审查,并选择六种实验评估方法。然后,我们在12个大型开源项目上实施这些方法并进行审阅人员建议,这是两年的53,005个拉动请求。结果表明,选择代码审阅者推荐方法时没有黄金规则,最佳方法在不同的评估度量(例如,前5个精度,MRR)和实验项目方面变化。然而,利用文本相似性和文件路径相似性的领带是最有前途的。我们还探讨了这些方法对培训数据的敏感性,并比较了他们的时间成本。这种方法为选择审阅者建议的方法提供了新的见解和实用指南。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号