Table of Contents
Fetching ...

Modern Code Reviews -- Survey of Literature and Practice

Deepika Badampudi, Michael Unterkalmsteiner, Ricardo Britto

TL;DR

An M CR research agenda that can potentially increase the impact of MCR research is provided and a misalignment between the state of the art and the themes deemed important by most survey respondents is indicated.

Abstract

Background: Modern Code Review (MCR) is a lightweight alternative to traditional code inspections. While secondary studies on MCR exist, it is unknown whether the research community has targeted themes that practitioners consider important. Objectives: The objectives are to provide an overview of MCR research, analyze the practitioners' opinions on the importance of MCR research, investigate the alignment between research and practice, and propose future MCR research avenues. Method: We conducted a systematic mapping study to survey state of the art until and including 2021, employed the Q-Methodology to analyze the practitioners' perception of the relevance of MCR research, and analyzed the primary studies' research impact. Results: We analyzed 244 primary studies, resulting in five themes. As a result of the 1,300 survey data points, we found that the respondents are positive about research investigating the impact of MCR on product quality and MCR process properties. In contrast, they are negative about human factor- and support systems-related research. Conclusion: These results indicate a misalignment between the state of the art and the themes deemed important by most survey respondents. Researchers should focus on solutions that can improve the state of MCR practice. We provide an MCR research agenda that can potentially increase the impact of MCR research.

Modern Code Reviews -- Survey of Literature and Practice

TL;DR

An M CR research agenda that can potentially increase the impact of MCR research is provided and a misalignment between the state of the art and the themes deemed important by most survey respondents is indicated.

Abstract

Background: Modern Code Review (MCR) is a lightweight alternative to traditional code inspections. While secondary studies on MCR exist, it is unknown whether the research community has targeted themes that practitioners consider important. Objectives: The objectives are to provide an overview of MCR research, analyze the practitioners' opinions on the importance of MCR research, investigate the alignment between research and practice, and propose future MCR research avenues. Method: We conducted a systematic mapping study to survey state of the art until and including 2021, employed the Q-Methodology to analyze the practitioners' perception of the relevance of MCR research, and analyzed the primary studies' research impact. Results: We analyzed 244 primary studies, resulting in five themes. As a result of the 1,300 survey data points, we found that the respondents are positive about research investigating the impact of MCR on product quality and MCR process properties. In contrast, they are negative about human factor- and support systems-related research. Conclusion: These results indicate a misalignment between the state of the art and the themes deemed important by most survey respondents. Researchers should focus on solutions that can improve the state of MCR practice. We provide an MCR research agenda that can potentially increase the impact of MCR research.
Paper Structure (53 sections, 11 figures, 14 tables)

This paper contains 53 sections, 11 figures, 14 tables.

Figures (11)

  • Figure 1: Overview of steps in modern code reviews (adapted from Davila and Nunes davila2021systematic)
  • Figure 2: Research methodology followed in this study.
  • Figure 3: Q-Sort structure: The number in the square brackets represents the number of statements per rating.
  • Figure 4: Frequencies of project types and research facets in primary studies
  • Figure 5: Frequencies of project types and research facets in primary studies
  • ...and 6 more figures