The Upper Bound of Information Diffusion in Code Review

06/15/2023
by   Michael Dorner, et al.
0

Background: Code review, the discussion around a code change among humans, forms a communication network that enables its participants to exchange and spread information. Although reported by qualitative studies, our understanding of the capability of code review as a communication network is still limited. Objective: In this article, we report on a first step towards evaluating the capability of code review as a communication network by quantifying how fast and how far information can spread through code review: the upper bound of information diffusion in code review. Method: In an in-silico experiment, we simulate an artificial information diffusion within large (Microsoft), mid-sized (Spotify), and small code review systems (Trivago) modelled as communication networks. We then measure the minimal topological and temporal distances between the participants to quantify how far and how fast information can spread in code review. Results: An average code review participants in the small and mid-sized code review systems can spread information to between 72 participants within four weeks independently of network size and tooling; for the large code review systems, we found an absolute boundary of about 11000 reachable participants. On average (median), information can spread between two participants in code review in less than five hops and less than five days. Conclusion: We found evidence that the communication network emerging from code review scales well and spreads information fast and broadly, corroborating the findings of prior qualitative work. The study lays the foundation for understanding and improving code review as a communication network.

READ FULL TEXT
research
10/14/2021

Only Time Will Tell: Modelling Communication for Information Diffusion in Software Engineering

In this manuscript, we present a novel model based on time-varying hyper...
research
08/08/2022

First Come First Served: The Impact of File Position on Code Review

The most popular code review tools (e.g., Gerrit and GitHub) present the...
research
05/28/2018

The effects of change-decomposition on code review - A Controlled Experiment

Background: Code review is a cognitively demanding and time-consuming pr...
research
03/07/2023

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

This paper investigates how the duration of various code review periods ...
research
02/09/2022

Less is More: Supporting Developers in Vulnerability Detection during Code Review

Reviewing source code from a security perspective has proven to be a dif...
research
08/17/2021

Are Code Review Processes Influenced by the Genders of the Participants?

Background: Contemporary software development organizations lack diversi...
research
05/19/2022

Probabilistic genotyping code review and testing

We discuss a range of miscodes found in probabilistic genotyping (PG) so...

Please sign up or login with your details

Forgot password? Click here to reset