# sourcegraph/zoekt SLOC report

> As of 2026-08-31 (commit 5f833dde1bc4), sourcegraph/zoekt contains 101,596 total lines: 82,627 code, 8,267 comments, 10,702 blank, across 309 files in 16 languages (top: Go 70.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

sourcegraph/zoekt has 82,627 source lines of code out of 101,596 total lines across 309 files, counted from the main ref at commit 5f833dde1bc4 by the OctoCounts tokei engine on 2026-08-31. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving sourcegraph/zoekt to commit 5f833dde1bc4, 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 medium-sized codebase by counted code lines. Code represents 81.3% of all lines, comments represent 8.1%, and the repository averages 267 code lines per file. Go accounts for 70.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 234 | 73,908 | 57,975 | 6,437 | 9,496 |
| JSON | 24 | 19,429 | 19,428 | 0 | 1 |
| C++ | 2 | 4,736 | 3,882 | 229 | 625 |
| Protocol Buffers | 5 | 913 | 441 | 268 | 204 |
| Scala | 1 | 347 | 270 | 45 | 32 |
| Kotlin | 1 | 741 | 198 | 502 | 41 |
| Shell | 4 | 149 | 91 | 20 | 38 |
| Java | 1 | 99 | 81 | 0 | 18 |
| Nix | 3 | 88 | 72 | 9 | 7 |
| Ruby | 1 | 77 | 63 | 0 | 14 |
| Python | 2 | 105 | 48 | 31 | 26 |
| YAML | 5 | 43 | 40 | 3 | 0 |

Top language (Go 70.2%). Generated at 2026-08-31T02:18:47.291584823+00:00. Canonical report: https://octocounts.com/github/sourcegraph/zoekt

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/sourcegraph/zoekt/commit/5f833dde1bc4b1a8f99007617b4b721e44506c4f?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does sourcegraph/zoekt have?

sourcegraph/zoekt has 101,596 total lines, including 82,627 code lines, 8,267 comment lines, and 10,702 blank lines.

### How was the sourcegraph/zoekt line count measured?

OctoCounts resolved the public GitHub repository to commit 5f833dde1bc4, 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/zoekt?

This OctoCounts report was generated from main at commit 5f833dde1bc4 on 2026-08-31T02:18:47.291584823+00:00.

## Similar repository reports

- [slackapi/slack-cli](https://octocounts.com/github/slackapi/slack-cli) — Go, 83,878 code lines
- [helm/helm](https://octocounts.com/github/helm/helm) — Go, 88,094 code lines
- [juggleim/im-server](https://octocounts.com/github/juggleim/im-server) — Go, 76,382 code lines
- [jesseduffield/lazygit](https://octocounts.com/github/jesseduffield/lazygit) — Go, 75,956 code lines
- [schollz/croc](https://octocounts.com/github/schollz/croc) — Go, 74,961 code lines
- [asciimoo/hister](https://octocounts.com/github/asciimoo/hister) — Go, 91,608 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
