# leptos-rs/leptos SLOC report

> leptos-rs/leptos: 116,050 code lines at commit 143458789912, counted with tokei-15.0.0 on 2026-11-12. Saved result 9770d83a17a0601b42de75b918c569794161ec30f64c4d017c606cc116005489.

leptos-rs/leptos has 116,050 source lines of code out of 138,600 total lines across 1,098 files, counted with tokei from the main ref at commit 143458789912 on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving leptos-rs/leptos to commit 143458789912, 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

leptos-rs/leptos: 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 83.7% of all lines, comments represent 6.0%, and the repository averages 106 code lines per file. Rust accounts for 86.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 567 | 116,988 | 100,160 | 5,163 | 11,665 |
| TOML | 253 | 7,460 | 5,720 | 909 | 831 |
| JSON | 28 | 5,030 | 5,021 | 0 | 9 |
| Gherkin (Cucumber) | 63 | 1,792 | 1,533 | 16 | 243 |
| CSS | 19 | 1,562 | 1,297 | 1 | 264 |
| JavaScript | 5 | 1,040 | 908 | 55 | 77 |
| TypeScript | 10 | 806 | 281 | 441 | 84 |
| HTML | 26 | 235 | 233 | 0 | 2 |
| Sass | 14 | 272 | 226 | 2 | 44 |
| Shell | 6 | 290 | 216 | 27 | 47 |
| Nix | 3 | 141 | 133 | 0 | 8 |
| YAML | 2 | 137 | 114 | 0 | 23 |
| SQL | 9 | 127 | 104 | 8 | 15 |
| XML | 2 | 51 | 51 | 0 | 0 |
| SVG | 2 | 34 | 34 | 0 | 0 |
| Dockerfile | 1 | 25 | 19 | 5 | 1 |
| Markdown | 88 | 2,610 | 0 | 1,744 | 866 |

Top language: Rust 86.3%. Generated on November 12, 2026. Canonical report: https://octocounts.com/github/leptos-rs/leptos/commit/1434587899126c03a649828df98a363d6bd601ab?reportId=9770d83a17a0601b42de75b918c569794161ec30f64c4d017c606cc116005489&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/leptos-rs/leptos/commit/1434587899126c03a649828df98a363d6bd601ab?reportId=9770d83a17a0601b42de75b918c569794161ec30f64c4d017c606cc116005489&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 leptos-rs/leptos have?

leptos-rs/leptos has 116,050 lines of code, plus 8,371 comment lines and 14,179 blank lines, for 138,600 total lines at commit 143458789912 on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the leptos-rs/leptos line count measured?

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

### What commit was counted for leptos-rs/leptos?

This OctoCounts report was generated from main at commit 143458789912 on November 12, 2026.

## Similar repository reports

- [mOqOm/DiscCraft](https://octocounts.com/github/mOqOm/DiscCraft) — Rust, 116,314 code lines
- [ferronweb/ferron](https://octocounts.com/github/ferronweb/ferron) — Rust, 116,455 code lines
- [artcraft-android/capcraft-android](https://octocounts.com/github/artcraft-android/capcraft-android) — Rust, 116,673 code lines
- [clash-verge-rev/clash-verge-rev](https://octocounts.com/github/clash-verge-rev/clash-verge-rev) — Rust, 116,820 code lines
- [storytold/anicraft](https://octocounts.com/github/storytold/anicraft) — Rust, 117,146 code lines
- [kitao/pyxel](https://octocounts.com/github/kitao/pyxel) — Rust, 117,168 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)
- [Yew vs Leptos](https://octocounts.com/compare/yew-vs-leptos)
- [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)
