Mining Code Review Data to Understand Waiting Times Between Acceptance and Merging: An Empirical Analysis
Not on the map. Why?
Abstract (arXiv)
Increasing code velocity (or the speed with which code changes are reviewed and merged) is integral to speeding up development and contributes to the work satisfaction of engineers. While factors affecting code change acceptance have been investigated in the past, solutions to decrease the code review lifetime are less understood. This study investigates the code review process to quantify delays and investigate opportunities to potentially increase code velocity. We study the temporal characteristics of half a million code reviews hosted on Gerrit and Phabricator, starting from the first response, to a decision to accept or reject the changes, and until the changes are merged into a target branch. We identified two types of time delays: (a) the wait time from the proposal of code changes until first response, and (b) the wait time between acceptance and merging. Our study indicates that reducing the time between acceptance and merging has the potential to speed up Phabricator code reviews by 29-63%. Small code changes and changes made by authors with a large number of previously accepted code reviews have a higher chance of being immediately accepted, without code review iterations. Our analysis suggests that switching from manual to automatic merges can help increase code velocity.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 9 Mar 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 1; 2026: 1.
4 papers.
- 2023Predicting the First Response Latency of Maintainers and Contributors in Pull Requestscited by 3
- 2024Knowledge-Guided Prompt Learning for Request Quality Assurance in Public Code Reviewcited by 0
- 2025Improving Automated Secure Code Reviews: A Synthetic Dataset for Code Vulnerability Flawscited by 0
- 2026Using Agentic AI for contextualized and multifaceted code review at Ericssoncited by 0
- 2026Using Agentic AI for contextualized and multifaceted code review at Ericsson14 Sep 2026
- 2025Improving Automated Secure Code Reviews: A Synthetic Dataset for Code Vulnerability Flaws22 Apr 2025
- 2024Knowledge-Guided Prompt Learning for Request Quality Assurance in Public Code Review29 Oct 2024
- 2023Predicting the First Response Latency of Maintainers and Contributors in Pull Requests13 Nov 2023