首页> 外文会议>International Conference on Software Maintenance and Evolution >Who should review this change?: Putting text and file location analyses together for more accurate recommendations
【24h】

Who should review this change?: Putting text and file location analyses together for more accurate recommendations

机译:谁应该审查此更改?:将文本和文件位置分析在一起以获取更准确的建议

获取原文

摘要

Software code review is a process of developers inspecting new code changes made by others, to evaluate their quality and identify and fix defects, before integrating them to the main branch of a version control system. Modern Code Review (MCR), a lightweight and tool-based variant of conventional code review, is widely adopted in both open source and proprietary software projects. One challenge that impacts MCR is the assignment of appropriate developers to review a code change. Considering that there could be hundreds of potential code reviewers in a software project, picking suitable reviewers is not a straightforward task. A prior study by Thongtanunam et al. showed that the difficulty in selecting suitable reviewers may delay the review process by an average of 12 days. In this paper, to address the challenge of assigning suitable reviewers to changes, we propose a hybrid and incremental approach Tie which utilizes the advantages of both Text mIning and a filE location-based approach. To do this, Tie integrates an incremental text mining model which analyzes the textual contents in a review request, and a similarity model which measures the similarity of changed file paths and reviewed file paths. We perform a large-scale experiment on four open source projects, namely Android, OpenStack, QT, and LibreOffice, containing a total of 42,045 reviews. The experimental results show that on average Tie can achieve top-1, top-5, and top-10 accuracies, and Mean Reciprocal Rank (MRR) of 0.52, 0.79, 0.85, and 0.64 for the four projects, which improves the state-of-the-art approach RevFinder, proposed by Thongtanunam et al., by 61%, 23%, 8%, and 37%, respectively.
机译:软件代码审查是一种开发人员检查其他人进行的新代码,以评估其质量和识别和修复缺陷,然后将它们集成到版本控制系统的主分支。现代代码审查(MCR),即传统代码审查的轻量级和基于工具的变体,在开源和专有软件项目中广泛采用。影响MCR的一个挑战是分配适当的开发人员,以审查代码变更。考虑到在软件项目中可能有数百个潜在的代码审阅者,选择合适的审阅者不是一项直接的任务。 Thongtanunam等人的事先研究。表明,选择合适的审阅者的困难可能将审查过程平均延迟12天。在本文中,为了解决将合适的审阅者分配改变的挑战,我们提出了一种混合和增量方法,它利用文本挖掘和基于文件的方法的优势。为此,TIE集成了一个增量文本挖掘模型,该模型分析了审查请求中的文本内容,以及测量更改文件路径和审核文件路径的相似性的相似性模型。我们对四个开源项目进行了大规模的实验,即Android,OpenStack,Qt和Libreoffice,共包含42,045条评论。实验结果表明,在平均绑架上可以实现顶级1,前5和前10个精度,而是四个项目的平均互惠级(MRR)为0.52,0.79,0.85和0.64,这改善了国家 - Thongtanunam等人提出的艺术方法Revfinder分别提出61%,23%,8%和37%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号