arrow
Return

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
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

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.
Keywords:
Pull request
Reviewer recommendation
Code changes
Artificial neural network

Journal

Soft Computing cover
Soft Computing
IF:
2.5
Papers:
1.0W
Citations:
2.1W

Organization

California State University System cover
California State University System
Scholars:
2.8W
Papers: 2.4W
Citations: 457
California State University, San Marcos cover
California State University, San Marcos
Scholars:
318
Papers: 286
Citations: 720
U
University of North Texas System
Scholars:
8.0K
Papers: 7.7K
Citations: 178
researcher View more organizations
Cited Papers

Cited Papers

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
errShare
errSave
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
errShare
errSave
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
errShare
errSave
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
errShare
errSave
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
errShare
errSave
researcher View more