跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2512.05551 · v3

Automated Code Review Assignments: An Alternative Perspective of Code Ownership on GitHub

首次提交 2025-12-05 17:14
版本更新 2026-11-11 16:25
雷达观测 2026-11-13 14:16
arXiv ↗PDF ↗

摘要

Code ownership is central to ensuring accountability and maintaining quality in large-scale software development. Yet, as software supply chain attacks threaten project health and quality assurance, mechanisms for assigning and enforcing responsibility have become critical. In 2017, GitHub introduced the CODEOWNERS feature, a file in the repository that names the developers responsible for specific files and automatically requests them as reviewers, to strengthen accountability and protect critical parts of the codebase. Little is known about how CODEOWNERS is adopted and practiced. We present the first large-scale empirical study of CODEOWNERS usage across over 844,000 pull requests with 1.9 million comments and over 2 million reviews. We identify 10,287 designated owners, the developers named in CODEOWNERS files, track their code review activities, and compare them with contribution-based owners, the developers who contributed at least 5% of a file's lines. Results indicate that designated owners take part in a moderate share of the pull requests that touch their files, that their collaborative behavior resembles that of contribution-based owners, and that after adoption merge time and review effort grow more slowly, or fall, relative to their pre-adoption trend. Using regression discontinuity design analysis, we further find that designated owners' review, decision (approval and merge), and authoring activity jumps upward at adoption, and that over the following year they do more review and decision work per pull request than before, whereas contribution-based owners do less review work per pull request. Our results position CODEOWNERS as a promising yet sparsely adopted mechanism for improving software governance and resilience. We discuss how projects can leverage this alternative ownership method to enhance security and accountability in open-source development.

作者备注:21 pages, 8 figures, 12 tables

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只观测到一个版本,无法比较变化。之后收录新版本时,会在这里对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v3 · 2026-11-11 16:25 · 最新观测版本

Automated Code Review Assignments: An Alternative Perspective of Code Ownership on GitHub

Code ownership is central to ensuring accountability and maintaining quality in large-scale software development. Yet, as software supply chain attacks threaten project health and quality assurance, mechanisms for assigning and enforcing responsibility have become critical. In 2017, GitHub introduced the CODEOWNERS feature, a file in the repository that names the developers responsible for specific files and automatically requests them as reviewers, to strengthen accountability and protect critical parts of the codebase. Little is known about how CODEOWNERS is adopted and practiced. We present the first large-scale empirical study of CODEOWNERS usage across over 844,000 pull requests with 1.9 million comments and over 2 million reviews. We identify 10,287 designated owners, the developers named in CODEOWNERS files, track their code review activities, and compare them with contribution-based owners, the developers who contributed at least 5% of a file's lines. Results indicate that designated owners take part in a moderate share of the pull requests that touch their files, that their collaborative behavior resembles that of contribution-based owners, and that after adoption merge time and review effort grow more slowly, or fall, relative to their pre-adoption trend. Using regression discontinuity design analysis, we further find that designated owners' review, decision (approval and merge), and authoring activity jumps upward at adoption, and that over the following year they do more review and decision work per pull request than before, whereas contribution-based owners do less review work per pull request. Our results position CODEOWNERS as a promising yet sparsely adopted mechanism for improving software governance and resilience. We discuss how projects can leverage this alternative ownership method to enhance security and accountability in open-source development.

查看此版本解读 →查看此版本原文 ↗