返回
How Developers Modify Pull Requests in Code Review
DOI:10.1109/TR.2021.3093159.png)
摘要
En 中文
In pull-based development process, contributors submit their code to open-source projects by pull requests, which are accepted or rejected by reviewers. Contributors may modify their code, which causes several iterations of code review process, and makes code reviews time-consuming for both contributors and reviewers. In this article, we set out to study pull request modifications in a code review process. We collect nine projects on GitHub with 104 307 pull requests, and investigate pull request modifications through analyzing added commits after pull requests' submission. By studying four research questions, we conclude our major findings as follow. First, 34.56% of collected pull requests have modifications. Pull requests with modifications have longer lifetime but higher pass rates. Second, we conclude eight modification types indicating why pull requests are modified. Third, we propose a novel method called MClassify to automatically classify pull request modifications, which achieves the accuracy of 0.807. Fourth, various modification types affect code review differently from the perspective of lifetime and pass rate. Pull requests with source control system management modifications have the longest lifetime. These findings enable developers and researchers to understand a pull-based code review process better and make improvements.
Keyword:
Software development management
Open source software
Manuals
Control systems
Research and development
Manifolds
Laboratories
Code review
GitHub
modification
open-source software (OSS)
pull request
期刊
IF:
5.7
论文数:
2.8K
被引数:
8.5K
机构
引用论文
Port Structure Inspection Based on 6-DOF Displacement Estimation Combined with Homography Formulation and Genetic Algorithm基于六自由度位移估计结合单应性公式和遗传算法的港口结构检查
Semantic and Dweller-Based Decision Support System for the Reconfiguration of Domestic Environments: RecAAL
Electronics
IF0

