gcc-mirror/gcc SLOC report

As of 2026-09-06 (commit fc0a5c0d04a5), gcc-mirror/gcc contains 18,510,299 total lines: 11,245,820 code, 4,794,940 comments, 2,469,539 blank, across 143,157 files in 60 languages (top: C 27.2%). Counted with tokei via OctoCounts.

As of 2026-09-06 (commit fc0a5c0d04a5), gcc-mirror/gcc contains 18,510,299 total lines: 11,245,820 code, 4,794,940 comments, 2,469,539 blank, across 143,157 files in 60 languages (top: C 27.2%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving gcc-mirror/gcc to commit fc0a5c0d04a5, 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.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
C93262470329630632581024942615096
C++1271342917893016770723260551759
C Header49881266286863134238106165046
PO File482120575782694925637412244
D54281052841750890178716123235
Ada51071348509728179358576261754
Go333793570170105415249682151
FORTRAN Modern94044591733410686140856697
Rust2045195301164265848522551
Autoconf2261834441509231204620475
XML3148263148237179
Module-Definition71813379210794846425380

Top language (C 27.2%). Generated at 2026-09-06T20:16:53.810977958+00:00.

Report FAQ

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

gcc-mirror/gcc has 18,510,299 total lines, including 11,245,820 code lines, 4,794,940 comment lines, and 2,469,539 blank lines.

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

OctoCounts resolved the public GitHub repository to commit fc0a5c0d04a5, 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 fc0a5c0d04a55429868594403f96608f7003aed4 at commit fc0a5c0d04a5 on 2026-09-06T20:16:53.810977958+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: