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.
As of 2026-11-16 (commit bb5c3bfcb28b), gcc-mirror/gcc contains 18,813,596 total lines: 11,433,684 code, 4,865,630 comments, 2,514,282 blank, across 145,383 files in 60 languages (top language: C 27.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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 |
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.
Play the growth animation for gcc-mirror/gcc on this page — 11,433,684 code lines across 60 languages, counted by tokei.