Revisiting code ownership and its relationship with software quality in the scope of modern code review

P Thongtanunam, S McIntosh, AE Hassan… - Proceedings of the 38th …, 2016 - dl.acm.org
Proceedings of the 38th international conference on software engineering, 2016dl.acm.org
Code ownership establishes a chain of responsibility for modules in large software systems.
Although prior work uncovers a link between code ownership heuristics and software
quality, these heuristics rely solely on the authorship of code changes. In addition to
authoring code changes, developers also make important contributions to a module by
reviewing code changes. Indeed, recent work shows that reviewers are highly active in
modern code review processes, often suggesting alternative solutions or providing updates …
Code ownership establishes a chain of responsibility for modules in large software systems. Although prior work uncovers a link between code ownership heuristics and software quality, these heuristics rely solely on the authorship of code changes. In addition to authoring code changes, developers also make important contributions to a module by reviewing code changes. Indeed, recent work shows that reviewers are highly active in modern code review processes, often suggesting alternative solutions or providing updates to the code changes. In this paper, we complement traditional code ownership heuristics using code review activity. Through a case study of six releases of the large Qt and OpenStack systems, we find that: (1) 67%--86% of developers did not author any code changes for a module, but still actively contributed by reviewing 21%--39% of the code changes, (2) code ownership heuristics that are aware of reviewing activity share a relationship with software quality, and (3) the proportion of reviewers without expertise shares a strong, increasing relationship with the likelihood of having post-release defects. Our results suggest that reviewing activity captures an important aspect of code ownership, and should be included in approximations of it in future studies.
ACM Digital Library