gcc-mirror/gcc

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.

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.

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.2% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C94836478033031130611041781625488
C++1278843410473056035728308556704
C Header50581277777870987240538166252
PO File502214594819685963961430948
D54281052841750890178716123235
Ada51281349037728661358539261837
Go333793570170105415249682151
FORTRAN Modern95424662673463056252157441
Rust23632537772104141271430649
Autoconf2271836771512431197520459
XML3148263148237179
Module-Definition72113470910870646425539

Top language: C 27.2%. 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

Reproduce this exact report and configuration.

Report FAQ

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

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.

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

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.

What commit was counted for gcc-mirror/gcc?

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.