Code Ownership
Ownership is measured by how many commits each author made to each file in the current tree. It highlights bus-factor risk (files only one person has ever touched) and where knowledge is concentrated. The bus factor is the smallest number of people who are, between them, primary owner of more than half of the files.
- Files Tracked
- 56,770
- in the current tree
- Bus Factor
- 3
- 3 authors are primary owner of 32,748 of 56,770 files
- Single-Owner Files
- 31,344
- 55.2% of tracked files
- Contributors
- 3,860
- authors who changed files
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.
| File | Sole owner | Commits |
|---|---|---|
| deps/npm/man/man1/npm-pkg.1 | npm team | 69 |
| deps/npm/man/man7/logging.7 | npm team | 61 |
| deps/npm/man/man7/dependency-selectors.7 | npm team | 54 |
| deps/npm/man/man7/package-spec.7 | npm team | 54 |
| deps/npm/man/man1/npm-query.1 | npm team | 52 |
| deps/npm/man/man1/npm-login.1 | npm team | 49 |
| deps/npm/docs/output/commands/npm-pkg.html | npm team | 45 |
| deps/npm/tap-snapshots/test/lib/docs.js.test.cjs | npm team | 45 |
| deps/npm/docs/output/commands/npm-query.html | npm team | 39 |
| deps/npm/docs/output/using-npm/dependency-selectors.html | npm team | 39 |
Table: the 100 most-changed of 31,344 single-owner files
| File | Sole owner | Commits |
|---|---|---|
| deps/npm/man/man1/npm-pkg.1 | npm team | 69 |
| deps/npm/man/man7/logging.7 | npm team | 61 |
| deps/npm/man/man7/dependency-selectors.7 | npm team | 54 |
| deps/npm/man/man7/package-spec.7 | npm team | 54 |
| deps/npm/man/man1/npm-query.1 | npm team | 52 |
| deps/npm/man/man1/npm-login.1 | npm team | 49 |
| deps/npm/docs/output/commands/npm-pkg.html | npm team | 45 |
| deps/npm/tap-snapshots/test/lib/docs.js.test.cjs | npm team | 45 |
| deps/npm/docs/output/commands/npm-query.html | npm team | 39 |
| deps/npm/docs/output/using-npm/dependency-selectors.html | npm team | 39 |
| deps/npm/lib/commands/publish.js | npm team | 39 |
| deps/npm/man/man1/npm-sbom.1 | npm team | 38 |
| deps/npm/docs/output/using-npm/logging.html | npm team | 36 |
| deps/npm/docs/output/commands/npm-login.html | npm team | 35 |
| deps/npm/docs/output/commands/npm-sbom.html | npm team | 35 |
| deps/npm/docs/output/using-npm/package-spec.html | npm team | 35 |
| deps/npm/docs/output/configuring-npm/npm-global.html | npm team | 33 |
| deps/npm/docs/output/configuring-npm/npm-json.html | npm team | 33 |
| deps/npm/test/lib/commands/publish.js | npm team | 33 |
| deps/npm/tap-snapshots/test/lib/commands/config.js.test.cjs | npm team | 32 |
| deps/corepack/dist/lib/corepack.cjs | Node.js GitHub Bot | 30 |
| deps/npm/lib/commands/install.js | npm team | 28 |
| deps/npm/node_modules/@npmcli/config/lib/definitions/definitions.js | npm team | 28 |
| deps/npm/lib/commands/view.js | npm team | 26 |
| deps/npm/docs/output/commands/npm-undeprecate.html | npm team | 25 |
| deps/npm/man/man1/npm-undeprecate.1 | npm team | 25 |
| deps/npm/tap-snapshots/test/lib/commands/publish.js.test.cjs | npm team | 25 |
| deps/npm/test/lib/commands/audit.js | npm team | 25 |
| deps/undici/src/docs/docs/api/Dispatcher.md | Node.js GitHub Bot | 24 |
| deps/npm/lib/commands/unpublish.js | npm team | 24 |
| deps/undici/src/lib/dispatcher/client-h1.js | Node.js GitHub Bot | 23 |
| deps/npm/lib/commands/outdated.js | npm team | 23 |
| deps/npm/lib/commands/init.js | npm team | 23 |
| deps/v8/src/compiler/typed-optimization.h | Michaël Zasso | 22 |
| deps/npm/docs/output/commands/npm-run.html | npm team | 22 |
| deps/npm/lib/commands/audit.js | npm team | 22 |
| deps/npm/lib/commands/ci.js | npm team | 22 |
| deps/npm/lib/commands/link.js | npm team | 22 |
| deps/npm/lib/commands/ls.js | npm team | 22 |
| deps/npm/man/man1/npm-run.1 | npm team | 22 |
| deps/npm/lib/commands/completion.js | npm team | 21 |
| deps/npm/lib/commands/token.js | npm team | 21 |
| deps/npm/lib/commands/update.js | npm team | 21 |
| deps/npm/node_modules/@npmcli/package-json/package.json | npm team | 21 |
| deps/npm/test/lib/commands/exec.js | npm team | 21 |
| deps/npm/lib/commands/cache.js | npm team | 21 |
| deps/cares/RELEASE-NOTES.md | Node.js GitHub Bot | 20 |
| deps/undici/src/lib/dispatcher/proxy-agent.js | Node.js GitHub Bot | 20 |
| deps/npm/test/lib/commands/view.js | npm team | 20 |
| deps/npm/lib/commands/owner.js | npm team | 20 |
| deps/npm/lib/commands/config.js | npm team | 20 |
| deps/npm/lib/commands/diff.js | npm team | 20 |
| deps/openssl/openssl/include/openssl/x509_acert.h | Node.js GitHub Bot | 19 |
| deps/v8/src/objects/compressed-slots-inl.h | Michaël Zasso | 19 |
| deps/npm/lib/commands/doctor.js | npm team | 19 |
| deps/npm/tap-snapshots/test/lib/npm.js.test.cjs | npm team | 19 |
| deps/npm/lib/commands/exec.js | npm team | 19 |
| deps/npm/node_modules/libnpmpublish/lib/publish.js | npm team | 18 |
| deps/npm/lib/commands/dist-tag.js | npm team | 18 |
| test/parallel/test-crypto-key-objects-to-crypto-key.js | Filip Skokan | 17 |
| deps/v8/test/cctest/compiler/test-concurrent-shared-function-info.cc | Michaël Zasso | 17 |
| deps/v8/src/heap/memory-chunk-layout.h | Michaël Zasso | 17 |
| deps/npm/lib/commands/pack.js | npm team | 17 |
| deps/npm/lib/commands/profile.js | npm team | 17 |
| deps/npm/node_modules/sigstore/package.json | npm team | 17 |
| deps/v8/src/codegen/signature.h | Michaël Zasso | 16 |
| deps/v8/src/heap/marking-barrier-inl.h | Michaël Zasso | 16 |
| deps/npm/lib/commands/dedupe.js | npm team | 16 |
| deps/npm/lib/commands/help.js | npm team | 16 |
| deps/npm/node_modules/@npmcli/arborist/lib/place-dep.js | npm team | 16 |
| deps/npm/tap-snapshots/test/lib/commands/completion.js.test.cjs | npm team | 16 |
| deps/npm/tap-snapshots/test/lib/commands/view.js.test.cjs | npm team | 16 |
| deps/npm/test/lib/commands/config.js | npm team | 16 |
| deps/npm/test/lib/commands/init.js | npm team | 16 |
| deps/npm/test/lib/commands/install.js | npm team | 16 |
| deps/npm/test/lib/commands/pack.js | npm team | 16 |
| deps/npm/test/lib/commands/owner.js | npm team | 16 |
| deps/npm/lib/utils/log-file.js | npm team | 16 |
| deps/npm/test/lib/commands/unpublish.js | npm team | 16 |
| deps/npm/lib/commands/deprecate.js | npm team | 16 |
| deps/undici/src/lib/web/websocket/receiver.js | Node.js GitHub Bot | 15 |
| deps/v8/include/cppgc/member.h | Michaël Zasso | 15 |
| deps/v8/tools/tickprocessor.mjs | Michaël Zasso | 15 |
| deps/v8/src/compiler/constant-folding-reducer.cc | Michaël Zasso | 15 |
| deps/npm/lib/commands/query.js | npm team | 15 |
| deps/npm/lib/commands/rebuild.js | npm team | 15 |
| deps/npm/node_modules/@sigstore/tuf/package.json | npm team | 15 |
| deps/npm/test/lib/commands/doctor.js | npm team | 15 |
| deps/npm/test/lib/commands/ls.js | npm team | 15 |
| deps/npm/node_modules/@npmcli/arborist/lib/query-selector-all.js | npm team | 15 |
| deps/npm/lib/commands/fund.js | npm team | 15 |
| deps/npm/lib/commands/access.js | npm team | 15 |
| deps/undici/src/lib/handler/redirect-handler.js | Node.js GitHub Bot | 14 |
| deps/undici/src/types/interceptors.d.ts | Node.js GitHub Bot | 14 |
| deps/undici/src/lib/web/websocket/stream/websocketstream.js | Node.js GitHub Bot | 14 |
| deps/v8/src/execution/ppc/simulator-ppc.h | Michaël Zasso | 14 |
| deps/v8/src/objects/map-updater.h | Michaël Zasso | 14 |
| deps/v8/src/compiler/machine-graph.h | Michaël Zasso | 14 |
| deps/v8/src/compiler/backend/jump-threading.cc | Michaël Zasso | 14 |
| deps/npm/lib/commands/pkg.js | npm team | 14 |
Ownership by author
Primary owner = the author with the most commits to a file. Solely owned = files only that author has touched.
| Author | Files owned | Solely owned | Files touched |
|---|---|---|---|
| Michaël Zasso | 16,557 | 9,690 | 19,741 |
| Node.js GitHub Bot | 9,343 | 3,208 | 12,057 |
| Joyee Cheung | 6,848 | 6,200 | 13,435 |
| npm team | 1,872 | 1,247 | 1,927 |
| René | 1,540 | 1,283 | 1,811 |
| Aviv Keller | 1,474 | 1,460 | 1,888 |
| Ben Noordhuis | 1,276 | 980 | 3,464 |
| James M Snell | 1,188 | 406 | 3,691 |
| Steven R. Loomis | 907 | 2 | 1,071 |
| Ryan Dahl | 869 | 418 | 1,737 |
| Chengzhong Wu | 838 | 696 | 1,598 |
| Shigeki Ohtsu | 826 | 24 | 1,554 |
| Rich Trott | 729 | 67 | 2,107 |
| Ruben Bridgewater | 654 | 26 | 1,476 |
| Filip Skokan | 646 | 404 | 1,196 |
| Colin Ihrig | 640 | 317 | 2,067 |
| Myles Borins | 411 | 196 | 3,128 |
| Ujjwal Sharma | 403 | 41 | 2,154 |
| Yagiz Nizipli | 378 | 185 | 1,581 |
| Sam Roberts | 357 | 41 | 2,060 |
| Tobias Nießen | 355 | 183 | 1,021 |
| Antoine du Hamel | 353 | 89 | 2,995 |
| Fedor Indutny | 337 | 79 | 2,203 |
| Matteo Collina | 321 | 217 | 909 |
| Guy Bedford | 309 | 258 | 532 |
Most shared files
Files touched by the most people — shared code where changes are most likely to need coordination.
| File | Contributors | Primary owner | Owner share |
|---|---|---|---|
| README.md | 302 | Rich Trott | 16.5% |
| doc/api/fs.md | 243 | Antoine du Hamel | 7.7% |
| src/node.cc | 230 | Ryan Dahl | 20.2% |
| lib/fs.js | 199 | Joyee Cheung | 6.5% |
| doc/api/http.md | 188 | Luigi Pinca | 6.7% |
| lib/net.js | 175 | Ryan Dahl | 21.2% |
| doc/api/cli.md | 170 | Rafael Gonzaga | 6.5% |
| node.gyp | 167 | Joyee Cheung | 9.7% |
| doc/api/stream.md | 167 | Robert Nagy | 10.8% |
| Makefile | 159 | Ryan Dahl | 13.4% |
| doc/api/process.md | 159 | Rich Trott | 7.7% |
| doc/api/errors.md | 151 | James M Snell | 8.4% |
| common.gypi | 144 | Michaël Zasso | 30.0% |
| src/node_crypto.cc | 144 | Ben Noordhuis | 21.8% |
| doc/api/crypto.md | 142 | Tobias Nießen | 22.2% |
| lib/internal/errors.js | 141 | Ruben Bridgewater | 10.4% |
| lib/repl.js | 133 | Ruben Bridgewater | 11.6% |
| lib/util.js | 126 | Ruben Bridgewater | 13.9% |
| BUILDING.md | 121 | Rich Trott | 10.7% |
| src/node_file.cc | 120 | Joyee Cheung | 11.3% |
How Node.js compares with other open source languages and developer tools →
How Node.js ranks among open source languages and developer tools by AI-assisted commits →
Generate this report for your own repository with gitstats-action · All Gallery reports
The smallest workflow
Publishes the report to GitHub Pages on every push to main: turn on Pages for the gh-pages branch.
# .github/workflows/gitstats.yml
name: GitStats Report
on:
push:
branches: [main]
permissions:
contents: write
jobs:
gitstats:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: shenxianpeng/gitstats-action@v1
with:
deploy-to-pages: true