# gcc-mirror/gcc SLOC report

> gcc-mirror/gcc: 11,341,719 code lines at commit 0ab0aff01313, counted with tokei-14.0.0 on 2026-10-23. Saved result d7527dc14d4b42667bb9f847b33b3e36bca30437bdeb1dd2c11ec2adb6bfc69b.

gcc-mirror/gcc has 11,341,719 source lines of code out of 18,638,141 total lines across 144,459 files, counted from the master ref at commit 0ab0aff01313 by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving gcc-mirror/gcc to commit 0ab0aff01313, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 60.9% of all lines, comments represent 25.8%, and the repository averages 79 code lines per file. C accounts for 27.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 94,117 | 4,739,100 | 3,086,818 | 1,032,326 | 619,956 |
| C++ | 12,750 | 4,313,670 | 3,033,992 | 725,940 | 553,738 |
| C Header | 5,017 | 1,273,592 | 869,691 | 238,700 | 165,201 |
| PO File | 48 | 2,120,575 | 782,694 | 925,637 | 412,244 |
| D | 5,428 | 1,052,841 | 750,890 | 178,716 | 123,235 |
| Ada | 5,124 | 1,348,799 | 728,517 | 358,498 | 261,784 |
| Go | 3,337 | 935,701 | 701,054 | 152,496 | 82,151 |
| FORTRAN Modern | 9,498 | 463,256 | 343,990 | 62,133 | 57,133 |
| Rust | 2,295 | 251,294 | 208,473 | 12,633 | 30,188 |
| Autoconf | 226 | 183,336 | 150,947 | 11,973 | 20,416 |
| XML | 3 | 148,263 | 148,237 | 17 | 9 |
| Module-Definition | 719 | 134,303 | 108,346 | 464 | 25,493 |
| GNU Style Assembly | 607 | 112,144 | 82,451 | 18,781 | 10,912 |
| M4 | 194 | 75,155 | 52,821 | 16,653 | 5,681 |
| C++ Header | 353 | 67,988 | 41,868 | 14,920 | 11,200 |
| Bitbake | 165 | 42,138 | 37,927 | 1,858 | 2,353 |
| Shell | 125 | 35,776 | 26,794 | 5,333 | 3,649 |
| COBOL | 592 | 29,606 | 23,872 | 3,408 | 2,326 |
| Python | 155 | 29,158 | 21,320 | 3,405 | 4,433 |
| Objective-C | 551 | 26,070 | 17,594 | 3,436 | 5,040 |
| Visual Studio Project | 36 | 17,428 | 17,428 | 0 | 0 |
| Alex | 215 | 18,598 | 15,988 | 0 | 2,610 |
| Happy | 3 | 16,760 | 15,442 | 0 | 1,318 |
| FORTRAN Legacy | 584 | 23,707 | 14,267 | 7,546 | 1,894 |
| Objective-C++ | 386 | 18,153 | 12,182 | 2,422 | 3,549 |
| Automake | 68 | 13,779 | 10,209 | 1,808 | 1,762 |
| YAML | 2 | 7,477 | 7,473 | 3 | 1 |
| JSON | 36 | 7,187 | 6,687 | 0 | 500 |
| AWK | 31 | 7,232 | 5,461 | 990 | 781 |
| Perl | 20 | 4,757 | 3,133 | 1,031 | 593 |
| Lex | 3 | 3,229 | 2,674 | 197 | 358 |
| Pan | 4 | 2,918 | 2,227 | 339 | 352 |
| Assembly | 4 | 2,508 | 1,509 | 458 | 541 |
| Pascal | 4 | 1,443 | 1,016 | 216 | 211 |
| C# | 9 | 1,615 | 879 | 506 | 230 |
| Visual Studio Solution | 8 | 856 | 849 | 0 | 7 |
| Makefile | 43 | 1,386 | 847 | 220 | 319 |
| Templ | 10 | 830 | 769 | 0 | 61 |
| BASH | 9 | 1,059 | 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 | 512 | 242 | 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 | 493 | 577,391 | 0 | 518,438 | 58,953 |
| Plain Text | 1,016 | 522,347 | 0 | 509,331 | 13,016 |

Top language (C 27.2%). Generated at 2026-10-23T07:15:53.532798371Z. Canonical report: https://octocounts.com/github/gcc-mirror/gcc/commit/0ab0aff01313b52b1d2fc9e50294724fb30fc1f9?reportId=d7527dc14d4b42667bb9f847b33b3e36bca30437bdeb1dd2c11ec2adb6bfc69b&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/gcc-mirror/gcc/commit/0ab0aff01313b52b1d2fc9e50294724fb30fc1f9?reportId=d7527dc14d4b42667bb9f847b33b3e36bca30437bdeb1dd2c11ec2adb6bfc69b&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does gcc-mirror/gcc have?

gcc-mirror/gcc has 18,638,141 total lines, including 11,341,719 code lines, 4,811,545 comment lines, and 2,484,877 blank lines.

### How was the gcc-mirror/gcc line count measured?

OctoCounts resolved the public GitHub repository to commit 0ab0aff01313, 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 0ab0aff01313 on 2026-10-23T07:15:53.532798371Z.

## Similar repository reports

- [DeusData/codebase-memory-mcp](https://octocounts.com/github/DeusData/codebase-memory-mcp) — C, 14,213,991 code lines
- [VirtualBox/virtualbox](https://octocounts.com/github/VirtualBox/virtualbox) — C, 16,046,794 code lines
- [reactos/reactos](https://octocounts.com/github/reactos/reactos) — C, 7,814,514 code lines
- [gnutools/binutils-gdb](https://octocounts.com/github/gnutools/binutils-gdb) — C, 7,017,533 code lines
- [TelegramMessenger/Telegram-iOS](https://octocounts.com/github/TelegramMessenger/Telegram-iOS) — C, 6,252,797 code lines
- [Maccraft123/linux-duet](https://octocounts.com/github/Maccraft123/linux-duet) — C, 21,512,207 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
