gcc-mirror/gcc SLOC report

As of 2026-08-19 (commit aac02c966618), gcc-mirror/gcc contains 19,921,615 total lines: 12,199,457 code, 5,035,595 comments, 2,686,563 blank, across 151,673 files in 62 languages (top: C 26.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving gcc-mirror/gcc to commit aac02c966618, 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 61.2% of all lines, comments represent 25.3%, and the repository averages 80 code lines per file. C accounts for 26.8% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C93437496327032683381050598644334
C++1274942922523017211723724551317
Ada1053521122231172421543439396363
C Header51061269416864543239100165773
Go5370105866079172416872598211
PO File482120575782694925637412244
D54321053555751451178766123338
FORTRAN Modern95504658323422606527858294
XML642115282070053644159
Rust2109213130179293906824769
Autoconf2301961801590091417822993
Module-Definition71713333710752546425348

Top language (C 26.8%). Generated at 2026-08-19T21:55:34.081350468+00:00.

Report FAQ

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

gcc-mirror/gcc has 19,921,615 total lines, including 12,199,457 code lines, 5,035,595 comment lines, and 2,686,563 blank lines.

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

OctoCounts resolved the public GitHub repository to commit aac02c966618, 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 aac02c966618 on 2026-08-19T21:55:34.081350468+00:00.