TY - GEN
T1 - Cross-project reopened pull request prediction in GitHub
AU - Mohamed, Abdillah
AU - Zhang, Li
AU - Jiang, Jing
N1 - Publisher Copyright:
© 2020 Knowledge Systems Institute Graduate School. All rights reserved.
PY - 2020
Y1 - 2020
N2 - In GitHub, pull requests may get reopened again for further modification and code review. Prediction of within-project reopened pull requests works well if there is enough amount of training data to build the training model. However, for new projects that have a limited amount of pull requests, using training data from other projects can help to predict the reopened pull requests. Therefore, it is important to study cross-project reopened pull request prediction and help integrators in new projects. In this paper, we propose a cross-project approach that consists of building a decision tree training model based on an external project as a source project to predict the reopened pull requests in another project. We evaluate the effectiveness of cross-project prediction on 7 open source projects containing 100,622 pull requests. Experiment results show that the cross-project prediction achieves accuracy from 78.76% to 96.52%, and F1-measure from 53.34% to 90.58% across 7 projects. We examine the feature importance using the decision tree predictor and find that the number of commits is the most important feature in the majority of projects.
AB - In GitHub, pull requests may get reopened again for further modification and code review. Prediction of within-project reopened pull requests works well if there is enough amount of training data to build the training model. However, for new projects that have a limited amount of pull requests, using training data from other projects can help to predict the reopened pull requests. Therefore, it is important to study cross-project reopened pull request prediction and help integrators in new projects. In this paper, we propose a cross-project approach that consists of building a decision tree training model based on an external project as a source project to predict the reopened pull requests in another project. We evaluate the effectiveness of cross-project prediction on 7 open source projects containing 100,622 pull requests. Experiment results show that the cross-project prediction achieves accuracy from 78.76% to 96.52%, and F1-measure from 53.34% to 90.58% across 7 projects. We examine the feature importance using the decision tree predictor and find that the number of commits is the most important feature in the majority of projects.
KW - Cross project
KW - GitHub
KW - Reopened pull request prediction
UR - https://www.scopus.com/pages/publications/85090505620
U2 - 10.18293/SEKE2020-072
DO - 10.18293/SEKE2020-072
M3 - 会议稿件
AN - SCOPUS:85090505620
T3 - Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
SP - 435
EP - 438
BT - SEKE 2020 - Proceedings of the 32nd International Conference on Software Engineering and Knowledge Engineering
PB - Knowledge Systems Institute Graduate School
T2 - 32nd International Conference on Software Engineering and Knowledge Engineering, SEKE 2020
Y2 - 9 July 2020 through 19 July 2020
ER -