# zama-ai/tfhe-rs SLOC report

> zama-ai/tfhe-rs: 899,777 code lines at commit b07e249c925b, counted with tokei-15.0.0 on 2026-11-13. Saved result 6b60c5c5a109f57fe93020aa6b86997a0f02224f51d6dc9d0551945e4ec15fa8.

zama-ai/tfhe-rs has 899,777 source lines of code out of 991,338 total lines across 2,621 files, counted with tokei from the main ref at commit b07e249c925b on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving zama-ai/tfhe-rs to commit b07e249c925b, 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

zama-ai/tfhe-rs: 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 90.8% of all lines, comments represent 2.7%, and the repository averages 343 code lines per file. Rust accounts for 50.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 2,153 | 521,641 | 452,680 | 14,497 | 54,464 |
| Assembly | 40 | 358,910 | 358,273 | 547 | 90 |
| CUDA | 64 | 37,950 | 34,491 | 1,767 | 1,692 |
| C Header | 74 | 22,163 | 16,027 | 3,193 | 2,943 |
| JSON | 15 | 12,657 | 12,657 | 0 | 0 |
| Python | 46 | 9,970 | 8,139 | 340 | 1,491 |
| TOML | 78 | 4,398 | 3,583 | 222 | 593 |
| C | 20 | 4,382 | 3,267 | 130 | 985 |
| Makefile | 10 | 3,699 | 2,969 | 177 | 553 |
| JavaScript | 10 | 3,069 | 2,395 | 162 | 512 |
| Shell | 31 | 2,516 | 1,750 | 392 | 374 |
| Rusty Object Notation | 3 | 1,272 | 1,267 | 5 | 0 |
| C++ | 5 | 1,281 | 1,057 | 84 | 140 |
| CMake | 10 | 660 | 494 | 66 | 100 |
| HCL | 4 | 410 | 319 | 26 | 65 |
| HTML | 7 | 225 | 202 | 3 | 20 |
| Jinja2 | 3 | 171 | 148 | 0 | 23 |
| TCL | 1 | 44 | 35 | 0 | 9 |
| Autoconf | 9 | 29 | 18 | 11 | 0 |
| Forge Config | 1 | 3 | 3 | 0 | 0 |
| YAML | 1 | 4 | 3 | 1 | 0 |
| Markdown | 25 | 2,760 | 0 | 2,004 | 756 |
| Plain Text | 11 | 3,124 | 0 | 3,124 | 0 |

Top language: Rust 50.3%. Generated on November 13, 2026. Canonical report: https://octocounts.com/github/zama-ai/tfhe-rs/commit/b07e249c925bad47b03ed2bc93a99c2b6feaaad7?reportId=6b60c5c5a109f57fe93020aa6b86997a0f02224f51d6dc9d0551945e4ec15fa8&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/zama-ai/tfhe-rs/commit/b07e249c925bad47b03ed2bc93a99c2b6feaaad7?reportId=6b60c5c5a109f57fe93020aa6b86997a0f02224f51d6dc9d0551945e4ec15fa8&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 zama-ai/tfhe-rs have?

zama-ai/tfhe-rs has 899,777 lines of code, plus 26,751 comment lines and 64,810 blank lines, for 991,338 total lines at commit b07e249c925b on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the zama-ai/tfhe-rs line count measured?

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

### What commit was counted for zama-ai/tfhe-rs?

This OctoCounts report was generated from main at commit b07e249c925b on November 13, 2026.

## Similar repository reports

- [NVIDIA/OpenShell](https://octocounts.com/github/NVIDIA/OpenShell) — Rust, 899,401 code lines
- [rimio-ai/rimz](https://octocounts.com/github/rimio-ai/rimz) — Rust, 882,026 code lines
- [biomejs/biome](https://octocounts.com/github/biomejs/biome) — Rust, 881,279 code lines
- [pnpm/pnpm](https://octocounts.com/github/pnpm/pnpm) — Rust, 878,782 code lines
- [ZacharyZhang-NY/Kigi-CLI](https://octocounts.com/github/ZacharyZhang-NY/Kigi-CLI) — Rust, 878,502 code lines
- [brightwave-inc/tidebreak](https://octocounts.com/github/brightwave-inc/tidebreak) — Rust, 921,811 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)
