arrow
返回

Code context-based reviewer recommendation

delete2024-11-11
delete0
PRE
AI
D
Dawei Yuan
彭晓 封面图
彭晓 (Xiao Peng)
Z
Zijie Chen
张
张涛 (Tao Zhang) *
L
Lei, Ruijia
DOI:10.1007/s11704-023-3256-9delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Code review is a critical process in software development, contributing to the overall quality of the product by identifying errors early. A key aspect of this process is the selection of appropriate reviewers to scrutinize changes made to source code. However, in large-scale open-source projects, selecting the most suitable reviewers for a specific change can be a challenging task. To address this, we introduce the Code Context Based Reviewer Recommendation (CCB-RR), a model that leverages information from changesets to recommend the most suitable reviewers. The model takes into consideration the paths of modified files and the context derived from the changesets, including their titles and descriptions. Additionally, CCB-RR employs KeyBERT to extract the most relevant keywords and compare the semantic similarity across changesets. The model integrates the paths of modified files, keyword information, and the context of code changes to form a comprehensive picture of the changeset. We conducted extensive experiments on four open-source projects, demonstrating the effectiveness of CCB-RR. The model achieved a Top-1 accuracy of 60%, 55%, 51%, and 45% on the Android, OpenStack, QT, and LibreOffice projects respectively. For Mean Reciprocal Rank (MRR), CCB achieved 71%, 62%, 52%, and 68% on the same projects respectively, thereby highlighting its potential for practical application in code reviewer recommendation.
Keyword:
code reviewer recommendation
code context
pull request

期刊

Frontiers of Computer Science 封面图
Frontiers of Computer Science
IF:
4.6
论文数:
1.6K
被引数:
2.8K

机构

U
university of amsterdam
学者数:
6.0W
论文数: 5.1W
被引数: 94
引用论文

引用论文

err分享
err收藏
3D Modeling of the Lateral Ventricles and Histological Characterization of Periventricular Tissue in Humans and Mouse
err2015-05-19
err0
errOAAI
errRebecca L. Acabchuk; Ye Sun; Richard Wolferz, Jr.; Matthew B. Eastman; Jessica B. Lennington; Brett A. Shook; Qian Wu; Joanne C. Conover
err分享
err收藏
Recommending pull request reviewers based on code changes根据代码更改推荐拉取请求审阅者
err2021-01-09
err26
PREAI
errYe, Xin; Zheng, Yongjie; Aljedaani, Wajdi; Mkaouer, Mohamed Wiem
err分享
err收藏
Enhanced renal cryoablation with hilar clamping and intrarenal cooling in a porcine model
err2004-06-01
err0
PREAI
errWilliam Collyer; Ramakrishna Venkatesh; Richard Vanlangendonck; Kevin Morissey; Peter Humphrey; Yan Yan; Jaime Landman
err分享
err收藏
err分享
err收藏
学者 查看更多内容