Does Code Review Promote Conformance? A Study of OpenStack Patches
Panyawut Sri-iesaranusorn, Raula Gaikovina Kula, Takashi Ishio

TL;DR
This study analyzes whether code review influences coding pattern conformity in OpenStack patches, finding that reviewed patches tend to conform to accepted coding patterns, supporting automated tools and improving review efficiency.
Contribution
It provides empirical evidence that code review promotes coding pattern conformance, highlighting the potential for automated tools to assist in maintaining consistency.
Findings
Reviewed patches conform more to accepted coding patterns.
Accepted patches have similar patterns to prior accepted patches.
Review process encourages pattern conformity, aiding review efficiency.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Open Source Software Innovations · Scientific Computing and Data Management
