golang/go SLOC report

As of 2026-09-07 (commit 38d1265e1a01), golang/go contains 2,911,025 total lines: 2,070,053 code, 611,871 comments, 229,101 blank, across 9,252 files in 27 languages (top: Go 91.0%). Counted with tokei via OctoCounts.

As of 2026-09-07 (commit 38d1265e1a01), golang/go contains 2,911,025 total lines: 2,070,053 code, 611,871 comments, 229,101 blank, across 9,252 files in 27 languages (top: Go 91.0%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving golang/go to commit 38d1265e1a01, 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 71.1% of all lines, comments represent 21.0%, and the repository averages 224 code lines per file. Go accounts for 91.0% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Go692524362851883904356156196225
GNU Style Assembly5741725991400941863713868
Snakemake28212161987101345
JSON34865685350121
YAML5967826135331316
C8866415130733778
HTML61503137123109
Shell1214151073218124
Perl913841049172163
C Header221255769347139
JavaScript67255845982
Python2767482142143

Top language (Go 91.0%). Generated at 2026-09-07T08:24:43.391951630+00:00.

Report FAQ

How many lines of code does golang/go have?

golang/go has 2,911,025 total lines, including 2,070,053 code lines, 611,871 comment lines, and 229,101 blank lines.

How was the golang/go line count measured?

OctoCounts resolved the public GitHub repository to commit 38d1265e1a01, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for golang/go?

This OctoCounts report was generated from master at commit 38d1265e1a01 on 2026-09-07T08:24:43.391951630+00:00.

Similar repository reports

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