Code Ownership

Ownership is measured by how many commits each author made to each file. It highlights bus-factor risk (files only one person has ever touched) and where knowledge is concentrated.

Files tracked
179492
Single-owner files
68942 (38.4%)
Contributors
7698

Bus Factor Risk — Single-Owner Files

Files only one author has ever changed. The more a file has changed, the more knowledge is at risk if that person leaves.

FileSole ownerCommits
crates/libanalysis/src/lib.rsAlex Kladov54
crates/libsyntax2/src/grammar.ronAlex Kladov52
crates/libsyntax2/src/ast/generated.rsAlex Kladov49
src/syntax_kinds/generated.rsAlex Kladov46
grammar.ronAlex Kladov46
src/doc/rustc-dev-guide/ci/sembr/src/main.rsTshepang Mbambo43
src/grammar.ronAlex Kladov42
crates/ra_analysis/src/descriptors/module/mod.rsAlex Kladov41
crates/server/src/main_loop/mod.rsAlex Kladov39
patches/stdlib-lock.tomlbjorn338
library/compiler-builtins/libm/crates/libm-test/src/precision.rsTrevor Gross38
crates/libeditor/tests/test.rsAlex Kladov38
.github/workflows/rustc.ymlbjorn337
src/tools/miri/priroda/src/frontend/dap.rsMohamed Ali37
crates/libeditor/src/lib.rsAlex Kladov35
crates/server/src/main_loop/handlers.rsAlex Kladov34
library/compiler-builtins/libm/crates/libm-test/src/mpfloat.rsTrevor Gross33
crates/server/src/main.rsAlex Kladov31
library/compiler-builtins/libm/crates/libm-test/tests/compare_built_musl.rsTrevor Gross30
library/compiler-builtins/libm/crates/libm-test/Cargo.tomlTrevor Gross29
library/compiler-builtins/libm/crates/libm-test/benches/random.rsTrevor Gross28
src/librustc/ty/print.rsEduard-Mihai Burtescu28
src/parser/grammar/items/mod.rsAlex Kladov27
scripts/cargo-clif.rsbjorn326
crates/libeditor/src/completion.rsAlex Kladov26
crates/libeditor/src/code_actions.rsAlex Kladov26
library/compiler-builtins/libm/crates/libm-test/tests/multiprecision.rsTrevor Gross25
crates/libsyntax2/src/ast/mod.rsAlex Kladov25
clippy_dev/src/crater.rsMatthias Krüger24
crates/ra_ide/src/references/classify.rsAlex Kladov24
crates/server/src/req.rsAlex Kladov24
library/compiler-builtins/libm/src/math/generic/mod.rsTrevor Gross23
crates/ra_hir_def/src/keys.rsAlex Kladov23
crates/ra_syntax/src/ast/node_ext.rsAlex Kladov23
crates/ra_analysis/src/descriptors/module/nameres.rsAlex Kladov23
src/rustdoc/prune_undoc_pass.rsBrian Anderson23
tests/mir-opt/coverage/instrument_coverage.main.InstrumentCoverage.diffZalathar22
patches/0002-Disable-u128-and-i128-in-libcore.patchbjorn322
examples/mini_core_hello_world.rsbjorn322
example.rsbjorn322
library/compiler-builtins/libm/.github/workflows/main.yamlTrevor Gross21
library/compiler-builtins/libm/crates/util/src/main.rsTrevor Gross21
crates/assists/src/handlers/extract_function.rsVladyslav Katasonov21
examples/mini_core.rsbjorn320
library/compiler-builtins/libm/crates/libm-test/src/test_traits.rsTrevor Gross20
src/tools/miri/priroda/README.mdMohamed Ali20
src/yellow/syntax.rsAlex Kladov20
src/parser/grammar/mod.rsAlex Kladov20
clippy_lints/src/unnecessary_wrap.rsHirochika Matsumoto20
tests/run-pass/float.rsRalf Jung19

Showing top 50 of 68942 single-owner files.

Ownership by Author

Primary owner = the author with the most commits to a file. Solely owned = files only that author has touched.

AuthorFiles ownedSolely ownedFiles touched
Vadim Petrochenkov9310329516721
Albert Larsan6665663227736
Esteban Küber6608201215593
Ralf Jung6429185411639
Jieyou Xu634421713403
Oliver Scherer5908157916638
Alex Kladov533339116964
Philipp Krones5223416422
David Wood4904456013736
Michael Goulet4758163711442
Guillaume Gomez4425292913060
Felix S. Klock II419231788677
Mark Rousskov40986718344
Niko Matsakis314811448334
Noratrieb295411610391
Alex Crichton290261510446
lcnr26366765078
Lukas Wirth22565464884
Nicholas Nethercote17491486899
Zalathar17388332763
Patrick Walton1713454581
Matthew Jasper17033685056
Yuki Okushi17026473734
Camille Gillot15184746322
Waffle Lapkin14893474179

Showing top 25 of 7698 contributors.

Most Shared Files

Files touched by the most people — shared code where changes are most likely to need coordination.

FileContributorsPrimary ownerOwner share
Cargo.lock518bjorn39.8%
README.md410Ralf Jung13.5%
clippy_lints/src/lib.rs404Philipp Krones12.1%
CHANGELOG.md371Philipp Krones11.9%
compiler/rustc_span/src/symbol.rs289Nicholas Nethercote5.2%
src/libsyntax/parse/parser.rs263Patrick Walton11.3%
clippy_lints/src/methods/mod.rs248Philipp Krones15.0%
src/librustdoc/clean/mod.rs235Guillaume Gomez12.2%
compiler/rustc_target/src/spec/mod.rs219Ralf Jung7.4%
src/librustdoc/lib.rs212Alex Crichton10.3%
Cargo.toml208bjorn314.2%
src/lib.rs208bjorn327.8%
library/std/src/lib.rs205Ralf Jung5.4%
src/librustc_typeck/check/mod.rs204Niko Matsakis11.7%
compiler/rustc_session/src/options.rs197Nicholas Nethercote4.8%
src/tools/compiletest/src/runtest.rs193Zalathar7.8%
src/doc/rustc/src/platform-support.md183Eric Huss3.1%
library/core/src/lib.rs181Ralf Jung9.1%
src/libstd/lib.rs179Alex Crichton25.1%
compiler/rustc_session/src/config.rs177Nicholas Nethercote9.3%