# stalwartlabs/stalwart SLOC report

> As of 2026-11-24 (commit b2d3df9a9b1c), stalwartlabs/stalwart contains 875,966 total lines: 785,403 code, 28,021 comments, 62,542 blank, across 2,418 files in 13 languages (top language: Rust 98.6%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

Source: [stalwartlabs/stalwart on GitHub](https://github.com/stalwartlabs/stalwart) · counted commit [b2d3df9a9b1c](https://github.com/stalwartlabs/stalwart/tree/b2d3df9a9b1c3e0cd1d5ccccc16acd6f44381afa)

stalwartlabs/stalwart has 785,403 source lines of code out of 875,966 total lines across 2,418 files, counted with tokei from the main ref at commit b2d3df9a9b1c on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving stalwartlabs/stalwart to commit b2d3df9a9b1c, 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

stalwartlabs/stalwart: 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 89.7% of all lines, comments represent 3.2%, and the repository averages 325 code lines per file. Rust accounts for 98.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 2,332 | 858,531 | 774,631 | 23,803 | 60,097 |
| YAML | 2 | 3,357 | 3,316 | 2 | 39 |
| Python | 6 | 3,228 | 2,806 | 24 | 398 |
| TOML | 42 | 1,684 | 1,500 | 10 | 174 |
| JavaScript | 1 | 1,136 | 1,030 | 0 | 106 |
| Shell | 1 | 1,119 | 857 | 126 | 136 |
| HTML | 4 | 673 | 605 | 12 | 56 |
| CSS | 1 | 608 | 540 | 0 | 68 |
| HCL | 1 | 50 | 50 | 0 | 0 |
| Dockerfile | 1 | 46 | 43 | 0 | 3 |
| SVG | 1 | 25 | 25 | 0 | 0 |
| Markdown | 21 | 4,813 | 0 | 3,601 | 1,212 |

Top language: Rust 98.6%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/stalwartlabs/stalwart

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/stalwartlabs/stalwart/commit/b2d3df9a9b1c3e0cd1d5ccccc16acd6f44381afa?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=cb1de28e8c5f96897ac27f3473030ebd078fcca2a252c2d5d338053aea0ab146).

## Report FAQ

### How many lines of code does stalwartlabs/stalwart have?

stalwartlabs/stalwart has 785,403 lines of code, plus 28,021 comment lines and 62,542 blank lines, for 875,966 total lines at commit b2d3df9a9b1c on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the stalwartlabs/stalwart line count measured?

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

### What commit was counted for stalwartlabs/stalwart?

This OctoCounts report was generated from main at commit b2d3df9a9b1c on November 24, 2026.

## Similar repository reports

- [sheprd-labs/sheprd](https://octocounts.com/github/sheprd-labs/sheprd) — Rust, 786,973 code lines
- [morte2437/photocraft-android](https://octocounts.com/github/morte2437/photocraft-android) — Rust, 788,906 code lines
- [ad-si/Woxi](https://octocounts.com/github/ad-si/Woxi) — Rust, 781,192 code lines
- [pnpm/pnpm](https://octocounts.com/github/pnpm/pnpm) — Rust, 777,386 code lines
- [Moonbot-Tech/MoonTerminal](https://octocounts.com/github/Moonbot-Tech/MoonTerminal) — Rust, 796,192 code lines
- [yongkyuns/noon](https://octocounts.com/github/yongkyuns/noon) — Rust, 773,631 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [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)
