# restatedev/restate SLOC report

> restatedev/restate: 345,594 code lines at commit 64a6b2d19a8f, counted with tokei-15.0.0 on 2026-11-16. Saved result 8b951986c4183ad85276e91e31d7e7b114bbf099e266b09798a97dc59ccec251.

restatedev/restate has 345,594 source lines of code out of 427,585 total lines across 1,666 files, counted with tokei from the main ref at commit 64a6b2d19a8f on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving restatedev/restate to commit 64a6b2d19a8f, 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

restatedev/restate: 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 80.8% of all lines, comments represent 8.1%, and the repository averages 207 code lines per file. Rust accounts for 95.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 1,403 | 399,228 | 328,333 | 27,373 | 43,522 |
| JSON | 12 | 9,303 | 9,303 | 0 | 0 |
| TOML | 80 | 4,653 | 3,965 | 150 | 538 |
| Protocol Buffers | 20 | 4,109 | 2,105 | 1,359 | 645 |
| HTML | 1 | 792 | 780 | 11 | 1 |
| YAML | 9 | 404 | 359 | 26 | 19 |
| TypeScript | 5 | 362 | 258 | 60 | 44 |
| Dockerfile | 4 | 309 | 190 | 79 | 40 |
| Just | 1 | 235 | 157 | 39 | 39 |
| Lua | 1 | 91 | 59 | 21 | 11 |
| Pan | 1 | 40 | 35 | 0 | 5 |
| Templ | 1 | 21 | 21 | 0 | 0 |
| Shell | 3 | 71 | 19 | 40 | 12 |
| BASH | 1 | 23 | 10 | 12 | 1 |
| Markdown | 124 | 7,944 | 0 | 5,424 | 2,520 |

Top language: Rust 95.0%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/restatedev/restate/commit/64a6b2d19a8f53bddf1faa53c841667d72dd67c9?reportId=8b951986c4183ad85276e91e31d7e7b114bbf099e266b09798a97dc59ccec251&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/restatedev/restate/commit/64a6b2d19a8f53bddf1faa53c841667d72dd67c9?reportId=8b951986c4183ad85276e91e31d7e7b114bbf099e266b09798a97dc59ccec251&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 restatedev/restate have?

restatedev/restate has 345,594 lines of code, plus 34,594 comment lines and 47,397 blank lines, for 427,585 total lines at commit 64a6b2d19a8f on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the restatedev/restate line count measured?

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

### What commit was counted for restatedev/restate?

This OctoCounts report was generated from main at commit 64a6b2d19a8f on November 16, 2026.

## Similar repository reports

- [storytold/lightcraft](https://octocounts.com/github/storytold/lightcraft) — Rust, 345,615 code lines
- [DeclanRiedel/sift](https://octocounts.com/github/DeclanRiedel/sift) — Rust, 345,021 code lines
- [nushell/nushell](https://octocounts.com/github/nushell/nushell) — Rust, 344,698 code lines
- [aicodeking/pandacode](https://octocounts.com/github/aicodeking/pandacode) — Rust, 346,817 code lines
- [PommeMC/Client](https://octocounts.com/github/PommeMC/Client) — Rust, 343,341 code lines
- [kawayiYokami/P-ai](https://octocounts.com/github/kawayiYokami/P-ai) — Rust, 352,885 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)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [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)
