Opportunities and Challenges in Repeated Revisions to Pull-Requests: An Empirical Study
Zhixing Li, Yue Yu, Tao Wang, Shanshan Li, Huaimin Wang
Abstract
Background: The Pull-Request (PR) model is a widespread approach adopted by open source software (OSS) projects to support collaborative software development. However, it is often challenging to continuously evaluate and revise PRs in several iterations of code reviews involving technical and social aspects. Aim: Our objective is twofold: identifying best practices for effective collaboration in continuous PR improvement and uncovering problems that deserve special attention to improve collaboration efficiency and productivity. Method: We conducted a mixed-methods empirical study of repeatedly revised PRs (i.e., those that have undergone a high number of revisions). Historical trace data of five long-lived popular GitHub projects were used for manual investigation of practices for requesting changes to PRs and reasons for nonacceptance of repeatedly revised PRs. Surveys of OSS practitioners were conducted to evaluate the results of manual analysis and to provide additional insights into developers' willingness regarding PR revisions and factors causing avoidable revisions in practice. Results: The main results of our research were as follows: (1) We identified 15 code review practices for requesting changes to PRs, among which practices with respect to explaining the reasoning behind requested changes and tracking the progress of PR review and revision were undervalued by reviewers; (2) While submitters can in general undergo 1-5 rounds of revisions, they are willing to offer more revisions when they are in a friendly community and receive helpful feedback; (3) We revealed 11 factors causing avoidable revisions regarding to reviewers' feedback, code review policy, pre-submission issues, and implementation of new revisions; and (4) Nonacceptance of repeatedly revised PRs was due mainly to inactivity of submitters or reviewers and being superseded for better maintenance. Finally, based on these findings, we proposed recommendations and implications for OSS practitioners and tool designers to facilitate efficient collaboration in PR revisions.
CCS Concepts: • Software and its engineering → Collaboration in software development.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers1
Ask how each one uses itBuilds on5
- Leaving My Fingerprints: Motivations and Challenges of Contributing to OSS for Social GoodYu Huang, Denae Ford, Thomas ZimmermannICSE 2021 · 36 citations
- What Makes a Great Maintainer of Open Source Projects?Edson Dias, Paulo Meirelles, Fernando Castor, Igor Steinmacher et al.ICSE 2021 · 35 citations
- Planning for untangling: predicting the difficulty of merge conflictsCaius Brindescu, Iftekhar Ahmed, Rafael Leano, Anita SarmaICSE 2020 · 19 citations
- Understanding the impact of GitHub suggested changes on recommendations between developersChris Brown, Chris ParninFSE 2020 · 18 citations
- The Shifting Sands of Motivation: Revisiting What Drives Contributors in Open SourceMarco Aurélio Gerosa, Igor Wiese, Bianca Trinkenreich, Georg Link et al.ICSE 2021 · 4 citations
Related papers
- Mining Pull Requests to Detect Process Anomalies in Open Source Software DevelopmentBohan Liu, He Zhang, Weigang Ma, Hongyu Kuang et al.ICSE 2024 · 2 citations
- "@alex, this fixes #9": Analysis of Referencing Patterns in Pull Request DiscussionsAshish Chopra, Morgan Mo, Samuel Dodson, Ivan Beschastnikh et al.CSCW 2021 · 13 citations
- Generative AI for Pull Request Descriptions: Adoption, Impact, and Developer InterventionsTao Xiao, Hideaki Hata, Christoph Treude, Kenichi MatsumotoFSE 2024 · 13 citations
- Don't Disturb Me: Challenges of Interacting with Software Bots on Open Source Software ProjectsMairieli Santos Wessel, Igor Wiese, Igor Steinmacher, Marco Aurélio GerosaCSCW 2021 · 5 citations
- Modeling Review History for Reviewer Recommendation: A Hypergraph ApproachGuoping Rong, Yifan Zhang, Lanxin Yang, Fuli Zhang et al.ICSE 2022 · 20 citations
