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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 5273 | 1239401 | 952000 | 133614 | 153787 |
| HTML | 95 | 222873 | 209917 | 412 | 12544 |
| TSX | 1852 | 238951 | 204867 | 9724 | 24360 |
| TypeScript | 1799 | 186268 | 145370 | 22048 | 18850 |
| JSON | 212 | 119089 | 119083 | 0 | 6 |
| YAML | 1107 | 115150 | 107434 | 1179 | 6537 |
| Bazel | 1218 | 67525 | 63418 | 848 | 3259 |
| GraphQL | 79 | 49155 | 46384 | 125 | 2646 |
| SQL | 1016 | 42741 | 37054 | 970 | 4717 |
| Sass | 755 | 35274 | 28429 | 1965 | 4880 |
| Svelte | 193 | 9249 | 8564 | 159 | 526 |
| Rust | 37 | 8167 | 6727 | 508 | 932 |
Top language (Go 48.8%). Generated at .
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.
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.
This OctoCounts report was generated from main at commit c864f15af264 on 2026-08-05T09:04:10.991162947+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: