Open Access iconOpen Access

ARTICLE

crossmark

Code Reviewer Intelligent Prediction in Open Source Industrial Software Project

by Zhifang Liao1, Bolin Zhang1, Xuechun Huang1, Song Yu1,*, Yan Zhang2

1 School of Computer Science and Engineering, Central South University, Changsha, 410083, China
2 Department of Computing, School of Computing, Engineering and Built Environment, Glasgow Caledonian University, Glasgow, G4 0BA, UK

* Corresponding Author: Song Yu. Email: email

(This article belongs to the Special Issue: Machine Learning-Guided Intelligent Modeling with Its Industrial Applications)

Computer Modeling in Engineering & Sciences 2023, 137(1), 687-704. https://doi.org/10.32604/cmes.2023.027466

Abstract

Currently, open-source software is gradually being integrated into industrial software, while industry protocols in industrial software are also gradually transferred to open-source community development. Industrial protocol standardization organizations are confronted with fragmented and numerous code PR (Pull Request) and informal proposals, and different workflows will lead to increased operating costs. The open-source community maintenance team needs software that is more intelligent to guide the identification and classification of these issues. To solve the above problems, this paper proposes a PR review prediction model based on multi-dimensional features. We extract 43 features of PR and divide them into five dimensions: contributor, reviewer, software project, PR, and social network of developers. The model integrates the above five-dimensional features, and a prediction model is built based on a Random Forest Classifier to predict the review results of PR. On the other hand, to improve the quality of rejected PRs, we focus on problems raised in the review process and review comments of similar PRs. We propose a PR revision recommendation model based on the PR review knowledge graph. Entity information and relationships between entities are extracted from text and code information of PRs, historical review comments, and related issues. PR revisions will be recommended to code contributors by graph-based similarity calculation. The experimental results illustrate that the above two models are effective and robust in PR review result prediction and PR revision recommendation.

Keywords


Cite This Article

APA Style
Liao, Z., Zhang, B., Huang, X., Yu, S., Zhang, Y. (2023). Code reviewer intelligent prediction in open source industrial software project. Computer Modeling in Engineering & Sciences, 137(1), 687-704. https://doi.org/10.32604/cmes.2023.027466
Vancouver Style
Liao Z, Zhang B, Huang X, Yu S, Zhang Y. Code reviewer intelligent prediction in open source industrial software project. Comput Model Eng Sci. 2023;137(1):687-704 https://doi.org/10.32604/cmes.2023.027466
IEEE Style
Z. Liao, B. Zhang, X. Huang, S. Yu, and Y. Zhang, “Code Reviewer Intelligent Prediction in Open Source Industrial Software Project,” Comput. Model. Eng. Sci., vol. 137, no. 1, pp. 687-704, 2023. https://doi.org/10.32604/cmes.2023.027466



cc Copyright © 2023 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1107

    View

  • 566

    Download

  • 0

    Like

Share Link