# leptos-rs/leptos SLOC report

> leptos-rs/leptos: 115,023 code lines at commit 5ca3a9bf90cb, counted with tokei-14.0.0 on 2026-10-22. Saved result baa5f8ee16c650977132ab4a70345c8de05aa45cdbb63bedd7d869962ad5e952.

leptos-rs/leptos has 115,023 source lines of code out of 137,392 total lines across 1,084 files, counted from the main ref at commit 5ca3a9bf90cb by the OctoCounts tokei engine on 2026-10-22. 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 leptos-rs/leptos to commit 5ca3a9bf90cb, 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 83.7% of all lines, comments represent 6.1%, and the repository averages 106 code lines per file. Rust accounts for 86.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 560 | 115,996 | 99,332 | 5,104 | 11,560 |
| TOML | 253 | 7,458 | 5,718 | 909 | 831 |
| JSON | 28 | 5,048 | 5,039 | 0 | 9 |
| Gherkin (Cucumber) | 56 | 1,603 | 1,362 | 16 | 225 |
| CSS | 19 | 1,562 | 1,297 | 1 | 264 |
| JavaScript | 5 | 1,008 | 876 | 56 | 76 |
| 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 | 130 | 121 | 0 | 9 |
| 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.4%). Generated at 2026-10-22T05:09:35.071387407Z. Canonical report: https://octocounts.com/github/leptos-rs/leptos/commit/5ca3a9bf90cbcc0561dc4323f8018e18dce5906f?reportId=baa5f8ee16c650977132ab4a70345c8de05aa45cdbb63bedd7d869962ad5e952&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/5ca3a9bf90cbcc0561dc4323f8018e18dce5906f?reportId=baa5f8ee16c650977132ab4a70345c8de05aa45cdbb63bedd7d869962ad5e952&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 137,392 total lines, including 115,023 code lines, 8,313 comment lines, and 14,056 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 5ca3a9bf90cb, 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 5ca3a9bf90cb on 2026-10-22T05:09:35.071387407Z.

## Similar repository reports

- [TshyGO/resume-form-assistant-plugin](https://octocounts.com/github/TshyGO/resume-form-assistant-plugin) — Rust, 114,298 code lines
- [clash-verge-rev/clash-verge-rev](https://octocounts.com/github/clash-verge-rev/clash-verge-rev) — Rust, 117,472 code lines
- [tauri-apps/tauri](https://octocounts.com/github/tauri-apps/tauri) — Rust, 112,373 code lines
- [NVIDIA-NeMo/Switchyard](https://octocounts.com/github/NVIDIA-NeMo/Switchyard) — Rust, 118,640 code lines
- [qarmin/czkawka](https://octocounts.com/github/qarmin/czkawka) — Rust, 110,449 code lines
- [ultraworkers/claw-code](https://octocounts.com/github/ultraworkers/claw-code) — Rust, 109,922 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)
- [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)
