sourcegraph/sourcegraph-public-snapshot SLOC report

As of 2026-08-05 (commit c864f15af264), sourcegraph/sourcegraph-public-snapshot contains 2,387,445 total lines: 1,949,533 code, 195,689 comments, 242,223 blank, across 14,383 files in 50 languages (top: Go 48.8%). Counted with tokei via OctoCounts.

As of 2026-08-05 (commit c864f15af264), sourcegraph/sourcegraph-public-snapshot contains 2,387,445 total lines: 1,949,533 code, 195,689 comments, 242,223 blank, across 14,383 files in 50 languages (top: Go 48.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving sourcegraph/sourcegraph-public-snapshot to commit c864f15af264, 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 81.7% of all lines, comments represent 8.2%, and the repository averages 136 code lines per file. Go accounts for 48.8% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Go52731239401952000133614153787
HTML9522287320991741212544
TSX1852238951204867972424360
TypeScript17991862681453702204818850
JSON21211908911908306
YAML110711515010743411796537
Bazel121867525634188483259
GraphQL7949155463841252646
SQL101642741370549704717
Sass755352742842919654880
Svelte19392498564159526
Rust3781676727508932

Top language (Go 48.8%). Generated at .

Report FAQ

How many lines of code does sourcegraph/sourcegraph-public-snapshot have?

sourcegraph/sourcegraph-public-snapshot has 2,387,445 total lines, including 1,949,533 code lines, 195,689 comment lines, and 242,223 blank lines.

How was the sourcegraph/sourcegraph-public-snapshot line count measured?

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

What commit was counted for sourcegraph/sourcegraph-public-snapshot?

This OctoCounts report was generated from main at commit c864f15af264 on 2026-08-05T09:04:10.991162947+00:00.

Similar repository reports

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