Files
- Files
- 31,647
- 74 extensions
- Lines of Code
- 7,382,861
- 233 per file
- Average File Size
- 8.7 KB
- 267.7 MB in total
File count by date
Extensions
Files with excluded extensions are not shown; configure exclude_exts in gitstats.conf.
| Extension | Files | Lines | Share | Lines/file | Bar |
|---|---|---|---|---|---|
| go | 18,104 | 5,517,842 | 74.7% | 304 | |
| json | 1,236 | 1,046,869 | 14.2% | 846 | |
| yaml | 6,533 | 402,177 | 5.4% | 61 | |
| md | 594 | 156,283 | 2.1% | 263 | |
| no extension | 2,996 | 72,967 | 1.0% | 24 | |
| proto | 136 | 54,383 | 0.7% | 399 | |
| sh | 296 | 51,734 | 0.7% | 174 | |
| po | 12 | 26,469 | 0.4% | 2,205 | |
| s | 59 | 12,890 | 0.2% | 218 | |
| sum | 42 | 6,330 | 0.1% | 150 | |
| txt | 34 | 4,502 | 0.1% | 132 | |
| psm1 | 4 | 3,507 | 0.0% | 876 | |
| pot | 1 | 3,291 | 0.0% | 3,291 | |
| mod | 41 | 2,959 | 0.0% | 72 | |
| yml | 66 | 2,159 | 0.0% | 32 | |
| response | 63 | 1,870 | 0.0% | 29 | |
| bazel | 31 | 1,439 | 0.0% | 46 | |
| in | 23 | 1,437 | 0.0% | 62 | |
| edited | 31 | 1,025 | 0.0% | 33 | |
| key | 39 | 1,020 | 0.0% | 26 | |
| original | 31 | 1,000 | 0.0% | 32 | |
| js | 2 | 914 | 0.0% | 457 | |
| manifest | 7 | 835 | 0.0% | 119 | |
| py | 7 | 827 | 0.0% | 118 | |
| patch | 27 | 683 | 0.0% | 25 | |
| tmpl | 7 | 593 | 0.0% | 84 | |
| pem | 37 | 551 | 0.0% | 14 | |
| sed | 6 | 483 | 0.0% | 80 | |
| base | 2 | 463 | 0.0% | 231 | |
| request | 63 | 440 | 0.0% | 6 | |
| common | 1 | 436 | 0.0% | 436 | |
| docs | 1 | 425 | 0.0% | 425 | |
| svg | 5 | 407 | 0.0% | 81 | |
| list | 6 | 393 | 0.0% | 65 | |
| 0 | 1 | 373 | 0.0% | 373 | |
| kuberc | 13 | 353 | 0.0% | 27 | |
| crt | 12 | 346 | 0.0% | 28 | |
| c | 6 | 336 | 0.0% | 56 | |
| ps1 | 2 | 289 | 0.0% | 144 | |
| interp | 2 | 241 | 0.0% | 120 | |
| g4 | 1 | 207 | 0.0% | 207 | |
| tokens | 2 | 130 | 0.0% | 65 | |
| markdown | 1 | 124 | 0.0% | 124 | |
| dot | 3 | 119 | 0.0% | 39 | |
| css | 1 | 110 | 0.0% | 110 | |
| conf | 5 | 104 | 0.0% | 20 | |
| bash | 2 | 97 | 0.0% | 48 | |
| work | 6 | 81 | 0.0% | 13 | |
| template | 3 | 46 | 0.0% | 15 | |
| golden | 1 | 45 | 0.0% | 45 | |
| html | 2 | 37 | 0.0% | 18 | |
| cer | 2 | 36 | 0.0% | 18 | |
| libyaml | 1 | 31 | 0.0% | 31 | |
| BSD | 1 | 28 | 0.0% | 28 | |
| csr | 2 | 27 | 0.0% | 13 | |
| jsonl | 3 | 19 | 0.0% | 6 | |
| toml | 1 | 18 | 0.0% | 18 | |
| mdown | 1 | 15 | 0.0% | 15 | |
| req | 1 | 15 | 0.0% | 15 | |
| log | 6 | 8 | 0.0% | 1 | |
| MIT | 1 | 7 | 0.0% | 7 | |
| lock | 1 | 6 | 0.0% | 6 | |
| Dockerfile | 1 | 4 | 0.0% | 4 | |
| csv | 2 | 3 | 0.0% | 1 | |
| kubernetes | 1 | 2 | 0.0% | 2 | |
| cfg | 1 | 1 | 0.0% | 1 | |
| pb | 987 | — | — | — | |
| mo | 12 | — | — | — | |
| png | 7 | — | — | — | |
| 4 | — | — | — | ||
| jpg | 2 | — | — | — | |
| binpb | 1 | — | — | — | |
| bzlmod | 1 | — | — | — | |
| gz | 1 | — | — | — | |
| jpeg | 1 | — | — | — |
Most changed files (code churn)
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 | Bar |
|---|---|---|
| pkg/kubelet/kubelet.go | 1,862 | |
| pkg/features/kube_features.go | 1,470 | |
| vendor/modules.txt | 1,417 | |
| api/openapi-spec/swagger.json | 1,324 | |
| go.mod | 1,164 | |
| go.sum | 1,032 | |
| pkg/generated/openapi/zz_generated.openapi.go | 916 | |
| pkg/kubelet/kubelet_test.go | 887 | |
| cmd/kubelet/app/server.go | 755 | |
| staging/src/k8s.io/apiextensions-apiserver/go.sum | 715 | |
| staging/src/k8s.io/kube-aggregator/go.sum | 707 | |
| staging/src/k8s.io/sample-apiserver/go.sum | 707 | |
| cluster/gce/util.sh | 700 | |
| test/e2e/framework/util.go | 699 | |
| staging/src/k8s.io/apiserver/go.sum | 685 | |
| cluster/gce/gci/configure-helper.sh | 682 | |
| staging/src/k8s.io/apiserver/go.mod | 680 | |
| staging/src/k8s.io/cloud-provider/go.sum | 621 | |
| staging/src/k8s.io/apiextensions-apiserver/go.mod | 611 | |
| staging/src/k8s.io/api/core/v1/types.go | 600 | |
| cmd/kube-apiserver/app/server.go | 583 | |
| staging/src/k8s.io/kube-aggregator/go.mod | 573 | |
| staging/src/k8s.io/kubectl/go.sum | 565 | |
| cluster/gce/config-test.sh | 564 | |
| staging/src/k8s.io/kube-controller-manager/go.sum | 541 |
Change frequency by file size →
How Kubernetes compares with other CNCF graduated projects →
How Kubernetes ranks among CNCF graduated projects 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