Does Code Review Promote Conformance? A Study of OpenStack Patches

Code Review plays a crucial role in software quality, by allowing reviewers to discuss and critique any new patches before they can be successfully integrated into the project code. Yet, it is unsure the extent to which coding pattern changes (i.e., repetitive code) from when a patch is first submitted and when the decision is made (i.e., during the review process). In this study, we revisit coding patterns in code reviews, aiming to analyze whether or not the coding pattern changes during the review process. Comparing prior submitted patches, we measure differences in coding pattern between pre-review (i.e., patch before the review) and post-review (i.e., patch after a review) from 27,736 reviewed OpenStack patches. Results show that patches after review, tend to conform to similar coding patterns of accepted patches, compared to when they were first submitted. We also find that accepted patches do have similar coding patterns to prior accepted patches. Our study reveals insights into the review process, supporting the potential for automated tool support for newcomers and lays the groundwork for work into understanding conformance and how it makes for an efficient code review process.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/27/2018

The Impact of Human Factors on the Participation Decision of Reviewers in Modern Code Review

Modern Code Review (MCR) plays a key role in software quality practices....
research
04/04/2021

Code Reviews with Divergent Review Scores: An Empirical Study of the OpenStack and Qt Communities

Code review is a broadly adopted software quality practice where develop...
research
06/04/2021

Automatic Patch Linkage Detection in Code Review Using TextualContent and File Location Features

Context: Contemporary code review tools are a popular choice for softwar...
research
11/28/2022

An Exploration of Cross-Patch Collaborations via Patch Linkage in OpenStack

Contemporary development projects benefit from code review as it improve...
research
05/19/2020

Do Code Review Measures Explain the Incidence of Post-Release Defects?

Aim: In contrast to studies of defects found during code review, we aim ...
research
07/06/2022

Characterizing disruptions in online gaming behavior following software patches

Multiplayer online games are ideal settings for studying the effects of ...
research
07/15/2019

Characterizing Developer Use of Automatically Generated Patches

We present a study that characterizes the way developers use automatical...

Please sign up or login with your details

Forgot password? Click here to reset