# matrix-org/matrix-rust-sdk SLOC report

> As of 2026-10-21 (commit f06f62654e15), matrix-org/matrix-rust-sdk contains 364,047 total lines: 285,662 code, 31,693 comments, 46,692 blank, across 965 files in 15 languages (top: Rust 85.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

matrix-org/matrix-rust-sdk has 285,662 source lines of code out of 364,047 total lines across 965 files, counted from the main ref at commit f06f62654e15 by the OctoCounts tokei engine on 2026-10-21. 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 matrix-org/matrix-rust-sdk to commit f06f62654e15, 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 78.5% of all lines, comments represent 8.7%, and the repository averages 296 code lines per file. Rust accounts for 85.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 651 | 311,322 | 242,718 | 23,990 | 44,614 |
| JSON | 4 | 40,075 | 40,075 | 0 | 0 |
| TOML | 50 | 2,318 | 1,869 | 168 | 281 |
| SQL | 55 | 912 | 479 | 287 | 146 |
| Shell | 2 | 201 | 153 | 20 | 28 |
| Swift | 4 | 117 | 92 | 9 | 16 |
| HTML | 3 | 123 | 90 | 8 | 25 |
| Python | 2 | 98 | 75 | 7 | 16 |
| YAML | 2 | 46 | 37 | 7 | 2 |
| SVG | 1 | 32 | 32 | 0 | 0 |
| Perl | 1 | 37 | 28 | 3 | 6 |
| Makefile | 1 | 15 | 10 | 0 | 5 |

Top language (Rust 85.0%). Generated at 2026-10-21T03:58:06.857208512+00:00. Canonical report: https://octocounts.com/github/matrix-org/matrix-rust-sdk

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/matrix-org/matrix-rust-sdk/commit/f06f62654e155be50be091ffef5304025b5928da?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=65f6bf8a05b601afc8b00bc8480badcabfddf4fc49f56fe458b03b6d0ad0e91e).

## Report FAQ

### How many lines of code does matrix-org/matrix-rust-sdk have?

matrix-org/matrix-rust-sdk has 364,047 total lines, including 285,662 code lines, 31,693 comment lines, and 46,692 blank lines.

### How was the matrix-org/matrix-rust-sdk line count measured?

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

### What commit was counted for matrix-org/matrix-rust-sdk?

This OctoCounts report was generated from main at commit f06f62654e15 on 2026-10-21T03:58:06.857208512+00:00.

## Similar repository reports

- [seradotcom/semwright](https://octocounts.com/github/seradotcom/semwright) — Rust, 286,005 code lines
- [storytold/lightcraft](https://octocounts.com/github/storytold/lightcraft) — Rust, 284,518 code lines
- [iii-hq/iii](https://octocounts.com/github/iii-hq/iii) — Rust, 283,620 code lines
- [microsoft/oxidizer](https://octocounts.com/github/microsoft/oxidizer) — Rust, 290,480 code lines
- [lakesoul-io/LakeSoul](https://octocounts.com/github/lakesoul-io/LakeSoul) — Rust, 279,114 code lines
- [junhoyeo/tokscale](https://octocounts.com/github/junhoyeo/tokscale) — Rust, 297,575 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)
