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

Source Code审稿人推荐的大规模研究

A Large-Scale Study on Source Code Reviewer Recommendation

Jakub Lipcak, Bruno Rossi

摘要:

软件代码审查是开发过程的重要组成部分,可以提高软件质量并降低总体成本。然而,找到合适的代码评审员是一项复杂且耗时的任务。目标:在本文中,我们提出了一个大规模的研究,以比较性能的两个主要的源代码审查员推荐算法(Revolutionary和朴素贝叶斯为基础的方法),在确定最好的代码审查打开拉请求。方法:我们从Github和Gerrit存储库中挖掘数据,构建了一个包含51个项目的大型数据集,分析了超过29.3万个拉取请求,18万个所有者和15.7万个评审者。结果如下:基于大量的分析,我们可以说:i)没有模型可以推广为所有项目的最佳模型,ii)使用不同的存储库(Gerrit,GitHub)可能会对推荐结果产生影响,iii)利用Gerrit中可用的子项目信息可以改善推荐结果。

英文摘要:

Context: Software code reviews are an important part of the development process, leading to better software quality and reduced overall costs. However, finding appropriate code reviewers is a complex and time-consuming task. Goals: In this paper, we propose a large-scale study to compare performance of two main source code reviewer recommendation algorithms (RevFinder and a Naive Bayes-based approach) in identifying the best code reviewers for opened pull requests. Method: We mined data from Github and Gerrit repositories, building a large dataset of 51 projects, with more than 293K pull requests analyzed, 180K owners and 157K reviewers. Results: Based on the large analysis, we can state that i) no model can be generalized as best for all projects, ii) the usage of a different repository (Gerrit, GitHub) can have impact on the the recommendation results, iii) exploiting sub-projects information available in Gerrit can improve the recommendation results.

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

↑