# google/gvisor SLOC report

> As of 2026-10-24 (commit d15d5319c3c7), google/gvisor contains 745,070 total lines: 501,056 code, 164,275 comments, 79,739 blank, across 3,216 files in 29 languages (top: Go 90.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

google/gvisor has 501,056 source lines of code out of 745,070 total lines across 3,216 files, counted from the master ref at commit d15d5319c3c7 by the OctoCounts tokei engine on 2026-10-24. 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 google/gvisor to commit d15d5319c3c7, 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 large codebase by counted code lines. Code represents 67.2% of all lines, comments represent 22.0%, and the repository averages 156 code lines per file. Go accounts for 90.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 2,223 | 663,108 | 452,091 | 141,430 | 69,587 |
| Bazel | 489 | 26,174 | 23,469 | 594 | 2,111 |
| SVG | 48 | 4,466 | 4,432 | 17 | 17 |
| GNU Style Assembly | 63 | 6,773 | 3,961 | 2,021 | 791 |
| YAML | 10 | 3,036 | 2,927 | 87 | 22 |
| C | 25 | 3,752 | 2,576 | 796 | 380 |
| Python | 15 | 2,909 | 2,239 | 315 | 355 |
| Shell | 40 | 3,131 | 1,856 | 898 | 377 |
| JSON | 7 | 1,560 | 1,560 | 0 | 0 |
| Makefile | 4 | 1,717 | 1,137 | 392 | 188 |
| C++ | 9 | 1,327 | 917 | 234 | 176 |
| Protocol Buffers | 21 | 1,798 | 886 | 652 | 260 |

Top language (Go 90.2%). Generated at 2026-10-24T09:58:27.794230797+00:00. Canonical report: https://octocounts.com/github/google/gvisor

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/google/gvisor/commit/d15d5319c3c758a6f18ccb59c607dc75300bce90?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=cf3a295988616becdad8e41ff834b6fc1026eb8a83e666ee81d13e58f33a43c8).

## Report FAQ

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

google/gvisor has 745,070 total lines, including 501,056 code lines, 164,275 comment lines, and 79,739 blank lines.

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

OctoCounts resolved the public GitHub repository to commit d15d5319c3c7, 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 d15d5319c3c7 on 2026-10-24T09:58:27.794230797+00:00.

## Similar repository reports

- [harness/harness](https://octocounts.com/github/harness/harness) — Go, 510,245 code lines
- [QuantumNous/new-api](https://octocounts.com/github/QuantumNous/new-api) — Go, 491,459 code lines
- [seakee/CPA-Manager-Plus](https://octocounts.com/github/seakee/CPA-Manager-Plus) — Go, 523,551 code lines
- [prometheus/prometheus](https://octocounts.com/github/prometheus/prometheus) — Go, 473,103 code lines
- [wolfymaster/woofx3](https://octocounts.com/github/wolfymaster/woofx3) — Go, 470,968 code lines
- [openbao/openbao](https://octocounts.com/github/openbao/openbao) — Go, 538,229 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)
