# google/gvisor SLOC report

> google/gvisor: 538,828 code lines at commit 89cacadae21e, counted with tokei-15.0.0 on 2026-11-16. Saved result 1e73d5805c7d68cba5b3ee6265d41cd33799b7e53f5ff2076a502d9b450ebf19.

google/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 89cacadae21e on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving google/gvisor to commit 89cacadae21e, 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

google/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 |
| HTML | 17 | 648 | 604 | 16 | 28 |
| Sass | 7 | 675 | 538 | 39 | 98 |
| Dockerfile | 58 | 773 | 535 | 103 | 135 |
| C Header | 15 | 896 | 501 | 255 | 140 |
| CUDA | 4 | 559 | 409 | 84 | 66 |
| Autoconf | 1 | 136 | 120 | 0 | 16 |
| LD Script | 2 | 195 | 77 | 92 | 26 |
| Ruby | 5 | 98 | 60 | 22 | 16 |
| TOML | 3 | 47 | 38 | 5 | 4 |
| BASH | 1 | 45 | 37 | 2 | 6 |
| JavaScript | 2 | 67 | 37 | 21 | 9 |
| GDB Script | 1 | 27 | 27 | 0 | 0 |
| Forge Config | 1 | 15 | 15 | 0 | 0 |
| Handlebars | 1 | 8 | 8 | 0 | 0 |
| Ruby HTML | 1 | 8 | 8 | 0 | 0 |
| Rust | 1 | 3 | 3 | 0 | 0 |
| Markdown | 126 | 21,905 | 0 | 16,836 | 5,069 |
| Plain Text | 6 | 135 | 0 | 109 | 26 |

Top language: Go 90.2%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/google/gvisor/commit/89cacadae21eca4270a8f7c79281d0426d33ac5f?reportId=1e73d5805c7d68cba5b3ee6265d41cd33799b7e53f5ff2076a502d9b450ebf19&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/google/gvisor/commit/89cacadae21eca4270a8f7c79281d0426d33ac5f?reportId=1e73d5805c7d68cba5b3ee6265d41cd33799b7e53f5ff2076a502d9b450ebf19&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

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

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

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

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

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

This OctoCounts report was generated from master at commit 89cacadae21e on November 16, 2026.

## Similar repository reports

- [openbao/openbao](https://octocounts.com/github/openbao/openbao) — Go, 540,795 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
- [egoist/mygo](https://octocounts.com/github/egoist/mygo) — Go, 528,078 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, 551,875 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)
