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
88
in the current tree
Bus Factor
1
Xianpeng Shen is primary owner of 88 of 88 files
Single-Owner Files
58
65.9% of tracked files
Contributors
9
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.

FileSole ownerCommits
gitstats/gitstats.cssXianpeng Shen38
.gitignoreXianpeng Shen18
tests/test_utils.pyXianpeng Shen14
uv.lockXianpeng Shen10
tests/conftest.pyXianpeng Shen9
.github/workflows/pre-commit.ymlXianpeng Shen9
docs/source/gallery.rstXianpeng Shen8
docs/source/getting-started.rstXianpeng Shen8
docs/source/index.rstXianpeng Shen8
.readthedocs.yamlXianpeng Shen8
Table: all 58 single-owner files
FileSole ownerCommits
gitstats/gitstats.cssXianpeng Shen38
.gitignoreXianpeng Shen18
tests/test_utils.pyXianpeng Shen14
uv.lockXianpeng Shen10
tests/conftest.pyXianpeng Shen9
.github/workflows/pre-commit.ymlXianpeng Shen9
docs/source/gallery.rstXianpeng Shen8
docs/source/getting-started.rstXianpeng Shen8
docs/source/index.rstXianpeng Shen8
.readthedocs.yamlXianpeng Shen8
scripts/gallery_ecosystems.pyXianpeng Shen7
tests/test_gallery_ecosystems.pyXianpeng Shen6
gitstats/ai_summarizer.pyXianpeng Shen5
docs/source/contributors.rstXianpeng Shen5
gitstats/employers.pyXianpeng Shen4
gitstats/compare.pyXianpeng Shen4
gitstats/sortable.jsXianpeng Shen4
tests/test_compare.pyXianpeng Shen4
tests/test_gallery_repos.pyXianpeng Shen4
docs/source/logo.pngXianpeng Shen4
gitstats/insights.pyXianpeng Shen3
tests/test_employers.pyXianpeng Shen3
tests/test_insights.pyXianpeng Shen3
gitstats/THIRD_PARTY_NOTICES.mdXianpeng Shen3
tests/test_wrapped.pyXianpeng Shen3
docs/source/ai-integration.rstXianpeng Shen3
gitstats/ai_providers.pyXianpeng Shen3
tests/test_ai_providers.pyXianpeng Shen3
scripts/gallery_repos.pyXianpeng Shen3
gitstats/sources.pyXianpeng Shen3
gitstats/assistants.pyXianpeng Shen3
tests/test_assistants.pyXianpeng Shen3
docs/source/conf.pyXianpeng Shen3
docs/source/copyright.rstXianpeng Shen3
.github/dependabot.ymlXianpeng Shen3
.github/workflows/docs-preview.ymlXianpeng Shen3
gitstats/wrapped.pyXianpeng Shen2
tests/test_sources.pyXianpeng Shen2
gallery/repos.ymlXianpeng Shen2
docs/source/license.rstXianpeng Shen2
.mailmapXianpeng Shen2
tests/test_ai_sdk_contract.pyXianpeng Shen1
tests/test_page_scripts.pyXianpeng Shen1
MANIFEST.inXianpeng Shen1
gitstats/safe_html.pyXianpeng Shen1
tests/test_safe_html.pyXianpeng Shen1
.github/ISSUE_TEMPLATE/gallery.ymlXianpeng Shen1
LICENSE-GPLv2Xianpeng Shen1
LICENSE-GPLv3Xianpeng Shen1
docs/source/report-dark.pngXianpeng Shen1
docs/source/report-light.pngXianpeng Shen1
docs/source/banner-dark.pngXianpeng Shen1
docs/source/banner-light.pngXianpeng Shen1
AGENTS.mdXianpeng Shen1
gitstats/chart.umd.min.jsXianpeng Shen1
.codespellrcXianpeng Shen1
docs/source/changelog.rstXianpeng Shen1
.github/workflows/stale.ymlXianpeng Shen1

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
Xianpeng Shen885888
Devraj Pal0014
Copilot0012
tomatotomata005
Joe Bordes005
Joaquin Bravo Contreras001
LiJohnson001
Pinhong Ma001
harsh8968001

Most shared files

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

FileContributorsPrimary ownerOwner share
gitstats/report_creator.py5Xianpeng Shen92.5%
gitstats/main.py4Xianpeng Shen87.3%
gitstats/__init__.py4Xianpeng Shen88.0%
.github/workflows/test.yml4Xianpeng Shen87.0%
.github/workflows/pages.yml3Xianpeng Shen71.4%
README.rst2Xianpeng Shen98.1%
tests/test_report_creator.py2Xianpeng Shen95.6%
tests/test_main.py2Xianpeng Shen86.0%
gitstats/utils.py2Xianpeng Shen97.0%
pyproject.toml2Xianpeng Shen96.3%
gitstats/aggregate.py2Xianpeng Shen96.0%
tests/test_aggregate.py2Xianpeng Shen96.0%
.github/workflows/gallery.yml2Xianpeng Shen94.4%
docs/source/configuration.rst2Xianpeng Shen93.8%
noxfile.py2Xianpeng Shen91.7%
scripts/generate_gallery_portfolio.py2Xianpeng Shen90.9%
tests/test_generate_gallery_portfolio.py2Xianpeng Shen90.9%
tests/test_init.py2Xianpeng Shen90.9%
gitstats.conf2Xianpeng Shen90.0%
gitstats/badge.py2Xianpeng Shen87.5%