gcc-mirror/gcc has 11,433,684 source lines of code out of 18,813,596 total lines across 145,383 files, counted with tokei from the master ref at commit bb5c3bfcb28b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
gcc-mirror/gcc: 11,433,684 code lines at commit bb5c3bfcb28b, counted with tokei-15.0.0 on 2026-11-16. Saved result 684291b105dbbc0ab42929f2881bc6c5eb64242823b80ac25c45cf9c5eb3b3c9.
OctoCounts produced this report by resolving gcc-mirror/gcc to commit bb5c3bfcb28b, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a very large codebase by counted code lines. Code represents 60.8% of all lines, comments represent 25.9%, and the repository averages 79 code lines per file. C accounts for 27.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 94836 | 4780330 | 3113061 | 1041781 | 625488 |
| C++ | 12788 | 4341047 | 3056035 | 728308 | 556704 |
| C Header | 5058 | 1277777 | 870987 | 240538 | 166252 |
| PO File | 50 | 2214594 | 819685 | 963961 | 430948 |
| D | 5428 | 1052841 | 750890 | 178716 | 123235 |
| Ada | 5128 | 1349037 | 728661 | 358539 | 261837 |
| Go | 3337 | 935701 | 701054 | 152496 | 82151 |
| FORTRAN Modern | 9542 | 466267 | 346305 | 62521 | 57441 |
| Rust | 2363 | 253777 | 210414 | 12714 | 30649 |
| Autoconf | 227 | 183677 | 151243 | 11975 | 20459 |
| XML | 3 | 148263 | 148237 | 17 | 9 |
| Module-Definition | 721 | 134709 | 108706 | 464 | 25539 |
| GNU Style Assembly | 607 | 112213 | 82499 | 18799 | 10915 |
| M4 | 194 | 75168 | 52828 | 16661 | 5679 |
| C++ Header | 353 | 68038 | 41910 | 14925 | 11203 |
| Bitbake | 165 | 42140 | 37929 | 1858 | 2353 |
| Shell | 125 | 35776 | 26794 | 5333 | 3649 |
| COBOL | 592 | 29606 | 23872 | 3408 | 2326 |
| Python | 156 | 29214 | 21365 | 3405 | 4444 |
| Objective-C | 551 | 26070 | 17594 | 3436 | 5040 |
| Visual Studio Project | 36 | 17428 | 17428 | 0 | 0 |
| Alex | 215 | 18598 | 15988 | 0 | 2610 |
| Happy | 3 | 16764 | 15446 | 0 | 1318 |
| FORTRAN Legacy | 585 | 23734 | 14276 | 7561 | 1897 |
| Objective-C++ | 386 | 18153 | 12182 | 2422 | 3549 |
| Automake | 68 | 13795 | 10220 | 1811 | 1764 |
| YAML | 2 | 7518 | 7514 | 3 | 1 |
| JSON | 36 | 7214 | 6714 | 0 | 500 |
| AWK | 31 | 7232 | 5461 | 990 | 781 |
| Perl | 20 | 4855 | 3226 | 1032 | 597 |
| Lex | 3 | 3229 | 2674 | 197 | 358 |
| Pan | 4 | 2924 | 2232 | 340 | 352 |
| Assembly | 4 | 2508 | 1509 | 458 | 541 |
| Pascal | 4 | 1443 | 1016 | 216 | 211 |
| C# | 9 | 1615 | 879 | 506 | 230 |
| Visual Studio Solution | 8 | 856 | 849 | 0 | 7 |
| Makefile | 43 | 1386 | 847 | 220 | 319 |
| Templ | 10 | 830 | 769 | 0 | 61 |
| BASH | 9 | 1059 | 720 | 199 | 140 |
| HTML | 4 | 591 | 571 | 19 | 1 |
| RPM Specfile | 5 | 496 | 415 | 0 | 81 |
| TOML | 19 | 413 | 307 | 50 | 56 |
| Haskell | 88 | 329 | 296 | 0 | 33 |
| OCaml | 1 | 358 | 285 | 37 | 36 |
| CMake | 3 | 382 | 284 | 44 | 54 |
| Dockerfile | 20 | 323 | 275 | 9 | 39 |
| Emacs Lisp | 2 | 352 | 253 | 53 | 46 |
| Vim Script | 4 | 314 | 248 | 35 | 31 |
| Poke | 2 | 514 | 244 | 210 | 60 |
| MSBuild | 2 | 184 | 172 | 8 | 4 |
| LD Script | 1 | 192 | 132 | 32 | 28 |
| SWIG | 10 | 111 | 75 | 16 | 20 |
| ReStructuredText | 1 | 117 | 74 | 0 | 43 |
| GDB Script | 2 | 18 | 15 | 1 | 2 |
| Forge Config | 3 | 11 | 9 | 0 | 2 |
| Dream Maker | 1 | 8 | 5 | 0 | 3 |
| Batch | 2 | 4 | 4 | 0 | 0 |
| CSS | 1 | 1 | 1 | 0 | 0 |
| Markdown | 496 | 579145 | 0 | 519975 | 59170 |
| Plain Text | 1016 | 522347 | 0 | 509331 | 13016 |
Top language: C 27.2%. Generated on .
gcc-mirror/gcc: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
gcc-mirror/gcc has 11,433,684 lines of code, plus 4,865,630 comment lines and 2,514,282 blank lines, for 18,813,596 total lines at commit bb5c3bfcb28b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit bb5c3bfcb28b, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit bb5c3bfcb28b on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for gcc-mirror/gcc on this page — 11,433,684 code lines across 60 languages, counted by tokei.