Not logged in.

Contribution Details

Type Journal Article
Scope Discipline-based scholarship
Title The evolution of the code during review: an investigation on review changes
Organization Unit
Authors
  • Enrico Fregnan
  • Fernando Petrulio
  • Alberto Bacchelli
Item Subtype Original Work
Refereed Yes
Status Published in final form
Language
  • English
Journal Title Empirical Software Engineering
Publisher Springer
Geographical Reach international
ISSN 1382-3256
Volume 27
Number 7
Page Range 177:1 - 177:49
Date 2022
Abstract Text Code review is a software engineering practice in which reviewers manually inspect the code written by a fellow developer and propose any change that is deemed necessary or useful. The main goal of code review is to improve the quality of the code under review. Despite the widespread use of code review, only a few studies focused on the investigation of its outcomes, for example, investigating the code changes that happen to the code under review. The goal of this paper is to expand our knowledge on the outcome of code review while re-evaluating results from previous work. To this aim, we analyze changes that happened during the review process, which we define as review changes. Considering three popular open-source software projects, we investigate the types of review changes (based on existing taxonomies) and what triggers them; also, we study which code factors in a code review are most related to the number of review changes. Our results show that the majority of changes relate to evolvability concerns, with a strong prevalence of documentation and structure changes at type-level. Furthermore, differently from past work, we found that the majority of review changes are not triggered by reviewers’ comments. Finally, we find that the number of review changes in a code review is related to the size of the initial patch as well as the new lines of code that it adds. However, other factors, such as lines deleted or the author of the review patchset, do not always show an empirically supported relationship with the number of changes.
Free access at DOI
Digital Object Identifier 10.1007/s10664-022-10205-7
Other Identification Number merlin-id:23372
PDF File Download from ZORA
Export BibTeX
EP3 XML (ZORA)