Files
- Files
- 64,143
- 87 extensions
- Lines of Code
- 6,374,974
- 99 per file
- Average File Size
- 3.5 KB
- 219.3 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 |
|---|---|---|---|---|---|
| rs | 39,487 | 4,095,939 | 64.3% | 103 | |
| stderr | 16,367 | 731,226 | 11.5% | 44 | |
| json | 71 | 362,141 | 5.7% | 5,100 | |
| html | 140 | 317,702 | 5.0% | 2,269 | |
| xml | 9 | 158,537 | 2.5% | 17,615 | |
| md | 1,490 | 154,003 | 2.4% | 103 | |
| fixed | 1,444 | 97,535 | 1.5% | 67 | |
| diff | 995 | 71,605 | 1.1% | 71 | |
| yml | 71 | 44,574 | 0.7% | 627 | |
| rast | 537 | 36,291 | 0.6% | 67 | |
| lock | 69 | 35,360 | 0.6% | 512 | |
| h | 9 | 26,053 | 0.4% | 2,894 | |
| stdout | 490 | 25,353 | 0.4% | 51 | |
| mir | 403 | 24,417 | 0.4% | 60 | |
| js | 167 | 23,556 | 0.4% | 141 | |
| no extension | 274 | 23,172 | 0.4% | 84 | |
| sh | 139 | 20,119 | 0.3% | 144 | |
| txt | 214 | 18,321 | 0.3% | 85 | |
| toml | 639 | 15,633 | 0.2% | 24 | |
| py | 44 | 13,171 | 0.2% | 299 | |
| ts | 29 | 8,751 | 0.1% | 301 | |
| goml | 154 | 8,231 | 0.1% | 53 | |
| spec | 2 | 7,990 | 0.1% | 3,995 | |
| coverage | 118 | 5,791 | 0.1% | 49 | |
| cov-map | 111 | 5,725 | 0.1% | 51 | |
| cpp | 16 | 5,376 | 0.1% | 336 | |
| css | 12 | 5,292 | 0.1% | 441 | |
| svg | 26 | 3,960 | 0.1% | 152 | |
| c | 123 | 3,492 | 0.1% | 28 | |
| s | 31 | 3,449 | 0.1% | 111 | |
| snap | 84 | 3,204 | 0.1% | 38 | |
| zsh | 2 | 3,052 | 0.0% | 1,526 | |
| ps1 | 4 | 2,722 | 0.0% | 680 | |
| fish | 2 | 2,238 | 0.0% | 1,119 | |
| pp | 47 | 1,884 | 0.0% | 40 | |
| yaml | 12 | 1,639 | 0.0% | 136 | |
| natvis | 8 | 951 | 0.0% | 118 | |
| ungram | 2 | 857 | 0.0% | 428 | |
| wxs | 3 | 500 | 0.0% | 166 | |
| hpp | 2 | 476 | 0.0% | 238 | |
| 1 | 2 | 440 | 0.0% | 220 | |
| stdin | 54 | 412 | 0.0% | 7 | |
| S | 2 | 401 | 0.0% | 200 | |
| check | 38 | 376 | 0.0% | 9 | |
| ld | 6 | 371 | 0.0% | 61 | |
| patch | 7 | 321 | 0.0% | 45 | |
| defconfig | 18 | 319 | 0.0% | 17 | |
| in | 4 | 195 | 0.0% | 48 | |
| askama | 3 | 194 | 0.0% | 64 | |
| ref | 19 | 171 | 0.0% | 9 | |
| jl | 1 | 171 | 0.0% | 171 | |
| def | 8 | 156 | 0.0% | 19 | |
| checks | 17 | 155 | 0.0% | 9 | |
| json5 | 2 | 148 | 0.0% | 74 | |
| nix | 3 | 138 | 0.0% | 46 | |
| adoc | 1 | 90 | 0.0% | 90 | |
| mjs | 1 | 75 | 0.0% | 75 | |
| RUNTIME | 1 | 72 | 0.0% | 72 | |
| data | 1 | 71 | 0.0% | 71 | |
| mts | 2 | 60 | 0.0% | 30 | |
| xsl | 2 | 58 | 0.0% | 29 | |
| dot | 4 | 50 | 0.0% | 12 | |
| inc | 5 | 36 | 0.0% | 7 | |
| el | 1 | 33 | 0.0% | 33 | |
| d | 5 | 30 | 0.0% | 6 | |
| x | 1 | 23 | 0.0% | 23 | |
| jsonc | 1 | 19 | 0.0% | 19 | |
| bat | 5 | 18 | 0.0% | 3 | |
| cmd | 3 | 17 | 0.0% | 5 | |
| args | 8 | 15 | 0.0% | 1 | |
| rust | 1 | 11 | 0.0% | 11 | |
| cff | 1 | 9 | 0.0% | 9 | |
| fragment | 1 | 7 | 0.0% | 7 | |
| ll | 1 | 6 | 0.0% | 6 | |
| template | 1 | 6 | 0.0% | 6 | |
| bin | 4 | 3 | 0.0% | 0 | |
| a | 1 | 3 | 0.0% | 3 | |
| err | 1 | 3 | 0.0% | 3 | |
| Makefile | 1 | 1 | 0.0% | 1 | |
| t | 1 | 1 | 0.0% | 1 | |
| version | 1 | 1 | 0.0% | 1 | |
| png | 31 | — | — | — | |
| woff2 | 14 | — | — | — | |
| auxv | 6 | — | — | — | |
| bmp | 2 | — | — | — | |
| xcf | 2 | — | — | — | |
| ico | 1 | — | — | — | |
| rlib | 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 |
|---|---|---|
| Cargo.lock | 5,052 | |
| src/librustdoc/clean/mod.rs | 1,982 | |
| Cargo.toml | 1,926 | |
| README.md | 1,426 | |
| compiler/rustc_span/src/symbol.rs | 1,208 | |
| compiler/rustc_middle/src/ty/context.rs | 1,029 | |
| compiler/rustc_middle/src/ty/mod.rs | 978 | |
| src/librustdoc/lib.rs | 921 | |
| compiler/rustc_ast_lowering/src/lib.rs | 887 | |
| compiler/rustc_middle/src/query/mod.rs | 830 | |
| src/tools/compiletest/src/runtest.rs | 816 | |
| compiler/rustc_passes/src/check_attr.rs | 812 | |
| triagebot.toml | 792 | |
| compiler/rustc_hir/src/hir.rs | 788 | |
| src/librustdoc/clean/types.rs | 733 | |
| compiler/rustc_metadata/src/rmeta/encoder.rs | 731 | |
| src/librustdoc/core.rs | 730 | |
| compiler/rustc_resolve/src/lib.rs | 665 | |
| compiler/rustc_resolve/src/late.rs | 660 | |
| src/librustdoc/clean/inline.rs | 657 | |
| compiler/rustc_trait_selection/src/traits/select/mod.rs | 648 | |
| src/librustdoc/html/render/mod.rs | 646 | |
| src/librustdoc/html/format.rs | 646 | |
| RELEASES.md | 636 | |
| src/tools/miri/rust-version | 629 |
Change frequency by file size →
How Rust compares with other open source languages and developer tools →
How Rust 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