Revisiting Code Ownership and Its Relationship with Software Quality in the Scope of Modern Code Review

Authors: Patanamon Thongtanunam Shane McIntosh Ahmed E. Hassan Hajimu Iida

Venue: ICSE   2016 IEEE/ACM 38th International Conference on Software Engineering (ICSE), pp. 1039-1050, 2016

Year: 2016

Abstract: 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.

BibTeX:

@inproceedings{patanamonthongtanunam2016rcoairwsqitsomcr,
    author = "Patanamon Thongtanunam and Shane McIntosh and Ahmed E. Hassan and Hajimu Iida",
    title = "Revisiting Code Ownership and Its Relationship with Software Quality in the Scope of Modern Code Review",
    year = "2016",
    pages = "1039-1050",
    booktitle = "Proceedings of 2016 IEEE/ACM 38th International Conference on Software Engineering (ICSE)"
}

Plain Text:

Patanamon Thongtanunam, Shane McIntosh, Ahmed E. Hassan, and Hajimu Iida, "Revisiting Code Ownership and Its Relationship with Software Quality in the Scope of Modern Code Review," 2016 IEEE/ACM 38th International Conference on Software Engineering (ICSE), pp. 1039-1050