# gvisor/gvisor SLOC report

> As of 2026-11-17 (commit bf5df9a1c921), gvisor/gvisor contains 792,570 total lines: 538,828 code, 170,512 comments, 83,230 blank, across 3,325 files in 30 languages (top language: Go 90.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

gvisor/gvisor has 538,828 source lines of code out of 792,570 total lines across 3,325 files, counted with tokei from the master ref at commit bf5df9a1c921 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving gvisor/gvisor to commit bf5df9a1c921, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

gvisor/gvisor: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 68.0% of all lines, comments represent 21.5%, and the repository averages 162 code lines per file. Go accounts for 90.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 2,317 | 705,323 | 486,109 | 146,646 | 72,568 |
| Bazel | 504 | 27,561 | 24,722 | 615 | 2,224 |
| SVG | 56 | 4,733 | 4,699 | 17 | 17 |
| GNU Style Assembly | 63 | 7,176 | 4,190 | 2,155 | 831 |
| Python | 17 | 4,541 | 3,629 | 385 | 527 |
| YAML | 10 | 3,456 | 3,340 | 94 | 22 |
| C | 26 | 3,868 | 2,654 | 824 | 390 |
| Shell | 39 | 3,141 | 1,874 | 891 | 376 |
| JSON | 7 | 1,560 | 1,560 | 0 | 0 |
| Makefile | 4 | 1,794 | 1,203 | 397 | 194 |
| C++ | 9 | 1,365 | 945 | 238 | 182 |
| Protocol Buffers | 21 | 1,812 | 886 | 666 | 260 |

Top language: Go 90.2%. Generated on November 17, 2026. Canonical report: https://octocounts.com/github/gvisor/gvisor

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/gvisor/gvisor/commit/bf5df9a1c9211afe4dbd7267c4423e9ae575f7fa?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&reportId=6d40d115cf036ccdca51e11de7874ce0e5dcb268626f9497cb118f1a228cd14a).

## Report FAQ

### How many lines of code does gvisor/gvisor have?

gvisor/gvisor has 538,828 lines of code, plus 170,512 comment lines and 83,230 blank lines, for 792,570 total lines at commit bf5df9a1c921 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the gvisor/gvisor line count measured?

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

### What commit was counted for gvisor/gvisor?

This OctoCounts report was generated from master at commit bf5df9a1c921 on November 17, 2026.

## Similar repository reports

- [1lck/Lithe-IDEA](https://octocounts.com/github/1lck/Lithe-IDEA) — Go, 538,013 code lines
- [openbao/openbao](https://octocounts.com/github/openbao/openbao) — Go, 540,799 code lines
- [kittors/CliRelay](https://octocounts.com/github/kittors/CliRelay) — Go, 533,102 code lines
- [wolfymaster/woofx3](https://octocounts.com/github/wolfymaster/woofx3) — Go, 548,306 code lines
- [littlesight9-sketch/unkey](https://octocounts.com/github/littlesight9-sketch/unkey) — Go, 551,787 code lines
- [QuantumNous/new-api](https://octocounts.com/github/QuantumNous/new-api) — Go, 552,862 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
