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.
| File | Sole owner | Commits |
|---|---|---|
| gitstats/gitstats.css | Xianpeng Shen | 38 |
| .gitignore | Xianpeng Shen | 18 |
| tests/test_utils.py | Xianpeng Shen | 14 |
| uv.lock | Xianpeng Shen | 10 |
| tests/conftest.py | Xianpeng Shen | 9 |
| .github/workflows/pre-commit.yml | Xianpeng Shen | 9 |
| docs/source/gallery.rst | Xianpeng Shen | 8 |
| docs/source/getting-started.rst | Xianpeng Shen | 8 |
| docs/source/index.rst | Xianpeng Shen | 8 |
| .readthedocs.yaml | Xianpeng Shen | 8 |
Table: all 58 single-owner files
| File | Sole owner | Commits |
|---|---|---|
| gitstats/gitstats.css | Xianpeng Shen | 38 |
| .gitignore | Xianpeng Shen | 18 |
| tests/test_utils.py | Xianpeng Shen | 14 |
| uv.lock | Xianpeng Shen | 10 |
| tests/conftest.py | Xianpeng Shen | 9 |
| .github/workflows/pre-commit.yml | Xianpeng Shen | 9 |
| docs/source/gallery.rst | Xianpeng Shen | 8 |
| docs/source/getting-started.rst | Xianpeng Shen | 8 |
| docs/source/index.rst | Xianpeng Shen | 8 |
| .readthedocs.yaml | Xianpeng Shen | 8 |
| scripts/gallery_ecosystems.py | Xianpeng Shen | 7 |
| tests/test_gallery_ecosystems.py | Xianpeng Shen | 6 |
| gitstats/ai_summarizer.py | Xianpeng Shen | 5 |
| docs/source/contributors.rst | Xianpeng Shen | 5 |
| gitstats/employers.py | Xianpeng Shen | 4 |
| gitstats/compare.py | Xianpeng Shen | 4 |
| gitstats/sortable.js | Xianpeng Shen | 4 |
| tests/test_compare.py | Xianpeng Shen | 4 |
| tests/test_gallery_repos.py | Xianpeng Shen | 4 |
| docs/source/logo.png | Xianpeng Shen | 4 |
| gitstats/insights.py | Xianpeng Shen | 3 |
| tests/test_employers.py | Xianpeng Shen | 3 |
| tests/test_insights.py | Xianpeng Shen | 3 |
| gitstats/THIRD_PARTY_NOTICES.md | Xianpeng Shen | 3 |
| tests/test_wrapped.py | Xianpeng Shen | 3 |
| docs/source/ai-integration.rst | Xianpeng Shen | 3 |
| gitstats/ai_providers.py | Xianpeng Shen | 3 |
| tests/test_ai_providers.py | Xianpeng Shen | 3 |
| scripts/gallery_repos.py | Xianpeng Shen | 3 |
| gitstats/sources.py | Xianpeng Shen | 3 |
| gitstats/assistants.py | Xianpeng Shen | 3 |
| tests/test_assistants.py | Xianpeng Shen | 3 |
| docs/source/conf.py | Xianpeng Shen | 3 |
| docs/source/copyright.rst | Xianpeng Shen | 3 |
| .github/dependabot.yml | Xianpeng Shen | 3 |
| .github/workflows/docs-preview.yml | Xianpeng Shen | 3 |
| gitstats/wrapped.py | Xianpeng Shen | 2 |
| tests/test_sources.py | Xianpeng Shen | 2 |
| gallery/repos.yml | Xianpeng Shen | 2 |
| docs/source/license.rst | Xianpeng Shen | 2 |
| .mailmap | Xianpeng Shen | 2 |
| tests/test_ai_sdk_contract.py | Xianpeng Shen | 1 |
| tests/test_page_scripts.py | Xianpeng Shen | 1 |
| MANIFEST.in | Xianpeng Shen | 1 |
| gitstats/safe_html.py | Xianpeng Shen | 1 |
| tests/test_safe_html.py | Xianpeng Shen | 1 |
| .github/ISSUE_TEMPLATE/gallery.yml | Xianpeng Shen | 1 |
| LICENSE-GPLv2 | Xianpeng Shen | 1 |
| LICENSE-GPLv3 | Xianpeng Shen | 1 |
| docs/source/report-dark.png | Xianpeng Shen | 1 |
| docs/source/report-light.png | Xianpeng Shen | 1 |
| docs/source/banner-dark.png | Xianpeng Shen | 1 |
| docs/source/banner-light.png | Xianpeng Shen | 1 |
| AGENTS.md | Xianpeng Shen | 1 |
| gitstats/chart.umd.min.js | Xianpeng Shen | 1 |
| .codespellrc | Xianpeng Shen | 1 |
| docs/source/changelog.rst | Xianpeng Shen | 1 |
| .github/workflows/stale.yml | Xianpeng Shen | 1 |
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 |
|---|---|---|---|
| Xianpeng Shen | 88 | 58 | 88 |
| Devraj Pal | 0 | 0 | 14 |
| Copilot | 0 | 0 | 12 |
| tomatotomata | 0 | 0 | 5 |
| Joe Bordes | 0 | 0 | 5 |
| Joaquin Bravo Contreras | 0 | 0 | 1 |
| LiJohnson | 0 | 0 | 1 |
| Pinhong Ma | 0 | 0 | 1 |
| harsh8968 | 0 | 0 | 1 |
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 |
|---|---|---|---|
| gitstats/report_creator.py | 5 | Xianpeng Shen | 92.5% |
| gitstats/main.py | 4 | Xianpeng Shen | 87.3% |
| gitstats/__init__.py | 4 | Xianpeng Shen | 88.0% |
| .github/workflows/test.yml | 4 | Xianpeng Shen | 87.0% |
| .github/workflows/pages.yml | 3 | Xianpeng Shen | 71.4% |
| README.rst | 2 | Xianpeng Shen | 98.1% |
| tests/test_report_creator.py | 2 | Xianpeng Shen | 95.6% |
| tests/test_main.py | 2 | Xianpeng Shen | 86.0% |
| gitstats/utils.py | 2 | Xianpeng Shen | 97.0% |
| pyproject.toml | 2 | Xianpeng Shen | 96.3% |
| gitstats/aggregate.py | 2 | Xianpeng Shen | 96.0% |
| tests/test_aggregate.py | 2 | Xianpeng Shen | 96.0% |
| .github/workflows/gallery.yml | 2 | Xianpeng Shen | 94.4% |
| docs/source/configuration.rst | 2 | Xianpeng Shen | 93.8% |
| noxfile.py | 2 | Xianpeng Shen | 91.7% |
| scripts/generate_gallery_portfolio.py | 2 | Xianpeng Shen | 90.9% |
| tests/test_generate_gallery_portfolio.py | 2 | Xianpeng Shen | 90.9% |
| tests/test_init.py | 2 | Xianpeng Shen | 90.9% |
| gitstats.conf | 2 | Xianpeng Shen | 90.0% |
| gitstats/badge.py | 2 | Xianpeng Shen | 87.5% |