首页> 外文会议>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,该方法利用了文本挖掘和基于filE位置方法的优势。为此,Tie集成了一个增量文本挖掘模型和一个相似性模型,该模型用于分析审阅请求中的文本内容,该模型用于测量更改后的文件路径和审阅的文件路径的相似性。我们对四个开源项目(即Android,OpenStack,QT和LibreOffice)进行了大规模实验,总共包含42,045条评论。实验结果表明,Tie的平均精度可以达到前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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号