Files with excluded extensions are not shown; configure exclude_exts in gitstats.conf.
| Extension | Files | Lines | Share | Lines/file | |
|---|---|---|---|---|---|
| go | 4,502 | 1,801,557 | 70.0% | 400 | |
| json | 193 | 278,138 | 10.8% | 1,441 | |
| result | 275 | 150,318 | 5.8% | 546 | |
| test | 272 | 81,225 | 3.2% | 298 | |
| txt | 6 | 80,731 | 3.1% | 13,455 | |
| md | 207 | 37,871 | 1.5% | 182 | |
| bazel | 870 | 34,955 | 1.4% | 40 | |
| sql | 525 | 27,434 | 1.1% | 52 | |
| sh | 291 | 26,750 | 1.0% | 91 | |
| y | 2 | 19,398 | 0.8% | 9,699 | |
| toml | 212 | 7,176 | 0.3% | 33 | |
| bzl | 2 | 6,926 | 0.3% | 3,463 | |
| jsonnet | 5 | 4,533 | 0.2% | 906 | |
| sum | 2 | 3,619 | 0.1% | 1,809 | |
| csv | 84 | 2,342 | 0.1% | 27 | |
| yml | 17 | 1,868 | 0.1% | 109 | |
| example | 2 | 1,086 | 0.0% | 543 | |
| 000000001 | 2 | 1,001 | 0.0% | 500 | |
| patch | 6 | 769 | 0.0% | 128 | |
| mod | 2 | 406 | 0.0% | 203 | |
| yaml | 3 | 383 | 0.0% | 127 | |
| py | 1 | 261 | 0.0% | 261 | |
| rl | 1 | 188 | 0.0% | 188 | |
| tpl | 2 | 185 | 0.0% | 92 | |
| common | 1 | 155 | 0.0% | 155 | |
| svg | 5 | 146 | 0.0% | 29 | |
| patchgo | 1 | 112 | 0.0% | 112 | |
| proto | 1 | 83 | 0.0% | 83 | |
| pem | 7 | 66 | 0.0% | 9 | |
| crt | 3 | 55 | 0.0% | 18 | |
| enterprise | 1 | 33 | 0.0% | 33 | |
| no extension | 1 | 28 | 0.0% | 28 | |
| key | 1 | 28 | 0.0% | 28 | |
| cnf | 2 | 22 | 0.0% | 11 | |
| meta | 1 | 17 | 0.0% | 17 | |
| env | 2 | 7 | 0.0% | 3 | |
| CSV | 1 | 6 | 0.0% | 6 | |
| conf | 1 | 2 | 0.0% | 2 | |
| png | 98 | — | — | — | |
| parquet | 23 | — | — | — | |
| gz | 10 | — | — | — | |
| zst | 10 | — | — | — | |
| jpeg | 9 | — | — | — | |
| snappy | 9 | — | — | — | |
| jpg | 4 | — | — | — | |
| 2 | — | — | — | ||
| pprof | 2 | — | — | — | |
| sst | 2 | — | — | — | |
| zip | 2 | — | — | — | |
| PNG | 1 | — | — | — | |
| data | 1 | — | — | — | |
| profile | 1 | — | — | — |
Files in the current tree touched most often across all commits. High-churn files are hotspots that may benefit from extra review or refactoring.
| File | Times Changed | |
|---|---|---|
| go.mod | 1,319 | |
| go.sum | 1,319 | |
| DEPS.bzl | 690 | |
| Makefile | 495 | |
| pkg/planner/core/planbuilder.go | 286 | |
| pkg/session/session.go | 256 | |
| errors.toml | 244 | |
| pkg/domain/domain.go | 232 | |
| pkg/executor/builder.go | 224 | |
| pkg/planner/core/logical_plan_builder.go | 214 | |
| pkg/ddl/index.go | 213 | |
| pkg/sessionctx/variable/sysvar.go | 209 | |
| pkg/planner/core/exhaust_physical_plans.go | 209 | |
| pkg/planner/core/find_best_task.go | 203 | |
| build/nogo_config.json | 199 | |
| pkg/planner/core/BUILD.bazel | 195 | |
| br/pkg/task/restore.go | 178 | |
| pkg/executor/BUILD.bazel | 173 | |
| pkg/sessionctx/variable/session.go | 166 | |
| pkg/executor/adapter.go | 159 | |
| pkg/ddl/BUILD.bazel | 157 | |
| br/pkg/task/stream.go | 153 | |
| pkg/ddl/executor.go | 140 | |
| pkg/executor/infoschema_reader.go | 135 | |
| pkg/ddl/ddl.go | 132 |
Change frequency by file size →
How TiDB compares with other open source projects from China →
How TiDB ranks among open source projects from China by AI-assisted commits →
Generate this report for your own repository with gitstats-action · All Gallery reports
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