gcc-mirror/gcc
gcc-mirror/gcc has 11,443,129 source lines of code out of 18,835,070 total lines across 145,699 files, counted with tokei from the master ref at commit fb412af72edf on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
gcc-mirror/gcc: 11,443,129 code lines at commit fb412af72edf, counted with tokei-15.0.0 on 2026-11-24. Saved result 6aa8dfe8548796f9e1885096c5cb42dc72b2e272c3194eac5618a3ccb6176c5a.
Source: gcc-mirror/gcc on GitHub · counted commit fb412af72edf
OctoCounts produced this report by resolving gcc-mirror/gcc to commit fb412af72edf, 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.
Repository size insights
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.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 95104 | 4800669 | 3122620 | 1049752 | 628297 |
| C++ | 12792 | 4347446 | 3060690 | 729380 | 557376 |
| C Header | 5062 | 1269751 | 864098 | 240566 | 165087 |
| PO File | 50 | 2214594 | 819685 | 963961 | 430948 |
| D | 5428 | 1052841 | 750890 | 178716 | 123235 |
| Ada | 5133 | 1349128 | 728723 | 358549 | 261856 |
| Go | 3337 | 935701 | 701054 | 152496 | 82151 |
| FORTRAN Modern | 9570 | 467720 | 347486 | 62697 | 57537 |
| Rust | 2363 | 253777 | 210414 | 12714 | 30649 |
| Autoconf | 226 | 183577 | 151215 | 11923 | 20439 |
| XML | 3 | 148263 | 148237 | 17 | 9 |
| Module-Definition | 722 | 135349 | 109298 | 464 | 25587 |
| GNU Style Assembly | 607 | 112228 | 82497 | 18812 | 10919 |
| M4 | 194 | 75170 | 52828 | 16663 | 5679 |
| C++ Header | 353 | 68038 | 41910 | 14925 | 11203 |
| Bitbake | 165 | 42144 | 37933 | 1858 | 2353 |
| Shell | 125 | 35776 | 26794 | 5333 | 3649 |
| COBOL | 596 | 29689 | 23934 | 3429 | 2326 |
| Python | 157 | 29379 | 21504 | 3415 | 4460 |
| Objective-C | 551 | 26070 | 17594 | 3436 | 5040 |
| Visual Studio Project | 36 | 17428 | 17428 | 0 | 0 |
| Alex | 215 | 18598 | 15988 | 0 | 2610 |
| Happy | 3 | 16847 | 15528 | 0 | 1319 |
| FORTRAN Legacy | 585 | 23734 | 14276 | 7561 | 1897 |
| Objective-C++ | 386 | 18153 | 12182 | 2422 | 3549 |
| Automake | 68 | 13807 | 10229 | 1812 | 1766 |
| YAML | 2 | 7526 | 7522 | 3 | 1 |
| JSON | 36 | 7214 | 6714 | 0 | 500 |
| AWK | 31 | 7232 | 5461 | 990 | 781 |
| Perl | 20 | 4855 | 3226 | 1032 | 597 |
| Lex | 3 | 3238 | 2680 | 200 | 358 |
| Pan | 4 | 2925 | 2233 | 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 | 89 | 334 | 300 | 0 | 34 |
| 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 | 497 | 579436 | 0 | 520268 | 59168 |
| Plain Text | 1016 | 522347 | 0 | 509331 | 13016 |
Top language: C 27.3%. Generated on .
Counting rules and retention
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.
Reproduce this report
Report FAQ
How many lines of code does gcc-mirror/gcc have?
gcc-mirror/gcc has 11,443,129 lines of code, plus 4,875,178 comment lines and 2,516,763 blank lines, for 18,835,070 total lines at commit fb412af72edf on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
How was the gcc-mirror/gcc line count measured?
OctoCounts resolved the public GitHub repository to commit fb412af72edf, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for gcc-mirror/gcc?
This OctoCounts report was generated from master at commit fb412af72edf on November 24, 2026.
Similar repository reports
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
- LiberNT/LiberNT — C, 10,931,649 code lines
- DeusData/codebase-memory-mcp — C, 14,361,560 code lines
- VirtualBox/virtualbox — C, 16,046,794 code lines
- reactos/reactos — C, 7,917,837 code lines
- gnutools/binutils-gdb — C, 7,014,976 code lines
- TelegramMessenger/Telegram-iOS — C, 6,741,519 code lines
Play the growth animation for gcc-mirror/gcc on this page — 11,443,129 code lines across 60 languages, counted by tokei.