Code reviewer intelligent prediction in open source industrial software project

Zhifang Liao, Bolin Zhang, Xuechun Huang, Song Yu*, Yan Zhang

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

1 Citation (Scopus)
106 Downloads (Pure)

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.

Original languageEnglish
Pages (from-to)687-704
Number of pages18
JournalComputer Modeling in Engineering & Sciences
Volume137
Issue number1
DOIs
Publication statusPublished - 23 Apr 2023

Keywords

  • knowledge graph
  • Open source software
  • pull request
  • random forest

ASJC Scopus subject areas

  • Software
  • Modelling and Simulation
  • Computer Science Applications

Fingerprint

Dive into the research topics of 'Code reviewer intelligent prediction in open source industrial software project'. Together they form a unique fingerprint.

Cite this