Are We Speeding Up or Slowing Down? On Temporal Aspects of Code Velocity

03/07/2023
by   Gunnar Kudrjavets, et al.
0

This paper investigates how the duration of various code review periods changes over a projects' lifetime. We study four open-source software (OSS) projects: Blender, FreeBSD, LLVM, and Mozilla. We mine and analyze the characteristics of 283,235 code reviews that cover, on average, seven years' worth of development. Our main conclusion is that neither the passage of time or the project's size impact code velocity. We find that (a) the duration of various code review periods (time-to-first-response, time-to-accept, and time-to-merge) for FreeBSD, LLVM, and Mozilla either becomes shorter or stays the same; no directional trend is present for Blender, (b) an increase in the size of the code bases (annually 3-17 velocity, and (c) for FreeBSD, LLVM, and Mozilla, the 30-day moving median stays in a fixed range for time-to-merge. These findings do not change with variabilities in code churn metrics, such as the number of commits or distinct authors of code changes.

READ FULL TEXT
research
06/11/2022

Is Kernel Code Different From Non-Kernel Code? A Case Study of BSD Family Operating Systems

Code churn and code velocity describe the evolution of a code base. Curr...
research
03/09/2022

Do Small Code Changes Merge Faster? A Multi-Language Empirical Investigation

Code velocity, or the speed with which code changes are integrated into ...
research
03/09/2022

Mining Code Review Data to Understand Waiting Times Between Acceptance and Merging: An Empirical Analysis

Increasing code velocity (or the speed with which code changes are revie...
research
05/09/2023

How is the speed of code review affected by activity, usage and code quality?

This paper investigates how the speed of code review is affected by the ...
research
05/10/2023

Do code refactorings influence the merge effort?

In collaborative software development, multiple contributors frequently ...
research
06/15/2023

The Upper Bound of Information Diffusion in Code Review

Background: Code review, the discussion around a code change among human...
research
10/22/2018

Monorepos: A Multivocal Literature Review

Monorepos (Monolithic Repositories) are used by large companies, such as...

Please sign up or login with your details

Forgot password? Click here to reset