What Makes a Code Change Easier to Review?

An Empirical Investigation on Code Change Reviewability

Conference Paper (2018)
Author(s)

A.R. Ram (University of Waterloo)

A.A. Sawant (TU Delft - Software Engineering)

Marco Castelluccio (UniversitĂ  degli Studi di Napoli Federico II)

A. Bacchelli (Universitat Zurich)

Research Group
Software Engineering
DOI related publication
https://doi.org/10.1145/3236024.3236080
More Info
expand_more
Publication Year
2018
Language
English
Research Group
Software Engineering
Pages (from-to)
201-212
ISBN (print)
978-1-4503-5573-5

Abstract

Peer code review is a practice widely adopted in software projects to improve the quality of code. In current code review practices, code changes are manually inspected by developers other than the author before these changes are integrated into a project or put into production. We conducted a study to obtain an empirical understanding of what makes a code change easier to review. To this end, we surveyed published academic literature and sources from gray literature (e.g., blogs and white papers), we interviewed ten professional developers, and we designed and deployed a reviewability evaluation tool that professional developers used to rate the reviewability of 98 changes. We find that reviewability is defined through several factors, such as the change description, size, and coherent commit history. We provide recommendations for practitioners and researchers. Preprint [https://pure.tudelft.nl/portal/files/45941832/reviewability.pdf]. Data and Materials [https://doi.org/10.5281/zenodo.1323659].

No files available

Metadata only record. There are no files for this record.