arrow
返回

Recommending pull request reviewers based on code changes

delete2021-01-09
delete26
PRE
AI
X
Xin Ye *
Y
Yongjie Zheng
W
Wajdi Aljedaani
M
Mohamed Wiem Mkaouer
DOI:10.1007/s00500-020-05559-3delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Pull-based development supports collaborative distributed development. It enables developers to collaborate on projects hosted on GitHub. If a developer wants to collaborate on a project, he/she will fork the repository, make modifications on the forked repository and send a pull request to the development team to ask for a merge of the code changes to the official repository. When the development team receives a pull request, the team members will review the changes and make a decision on whether to accept the changes or not. However, efficiently finding suitable pull request reviewers is a challenge. In this paper, we propose a multi-instance-based deep neural network model to recommend reviewers for pull requests. Given a pull request, our model extracts three features, which pull request title, commit message, and code change. The proposed model extracts the three features automatically from the code changes of every commit in the pull request. The features of different commits are then merged to predict the likelihood that a reviewer candidate is the appropriate reviewer. We use CNN and LSTM-network to learn features since the pull requisition and commit message feature have different structures than code change, written in a programming language. To test the effectiveness of our model, we performed a set of experiments using 43,986 pull requests extracted from 12 open-source projects. We compare our model with two baselines approaches, CoreDevRec and Majority Classes. Experiments demonstrate that our model outperforms two state-of-the-art baselines. For instance, for the TensorFlow project, our model's accuracy in determining the appropriate reviewers is 50.80%, 74.70%, and 84.04%, respectively, in Top-1, Top-3, and Top-5 recommendation.
Keyword:
Pull request
Reviewer recommendation
Code changes
Artificial neural network

期刊

Soft Computing 封面图
Soft Computing
IF:
2.5
论文数:
1.0W
被引数:
2.1W

机构

California State University System 封面图
California State University System
学者数:
2.8W
论文数: 2.4W
被引数: 457
California State University, San Marcos 封面图
California State University, San Marcos
学者数:
318
论文数: 286
被引数: 720
U
University of North Texas System
学者数:
8.0K
论文数: 7.7K
被引数: 178
学者 查看更多机构
引用论文

引用论文

Y-Autosome Translocation Associated with Azoospermia
err2010-02-15
err0
PREAI
errIsoji Sasagawa; Teruhiro Nakada; Yuichi Adachi; Tomoyuki Kato; Toshihiro Sawamura; Manabu Ishigooka; Tohru Hashimoto
err分享
err收藏
Specific production of prostaglandin E by human amnion in vitro
err1978-02-01
err0
PREAI
errM.D. Mitchell; J. Bibby; B.R. Hicks; A.C. Turnbull
err分享
err收藏
RevRec: A two-layer reviewer recommendation algorithm in pull-based development model
err2018-05-18
err28
PREAI
errYang Cheng; Zhang Xun-hui; Zeng Ling-bin; Fan Qiang; Wang Tao; Yu Yue; Yin Gang; Wang Huai-min
err分享
err收藏
What factors influence the reviewer assignment to pull requests?哪些因素会影响拉取请求的审阅者分配?
err2018-06-01
err20
PREAI
errSoares, Daricelio M.; de Lima Junior, Manoel L.; Plastino, Alexandre; Murta, Leonardo
err分享
err收藏
Crystallization behavior of a confined CuZr metallic liquid film with a sandwich-like structure
err2019-01-01
err0
PREAI
errYunrui Duan; Jie Li; Xingfan Zhang; Tao Li; Hamidreza Arandiyan; Yanyan Jiang; Hui Li
err分享
err收藏
学者 查看更多内容