# mozilla/mentat SLOC report

> As of 2026-09-03 (commit e55376e98b3a), mozilla/mentat contains 45,611 total lines: 32,677 code, 6,755 comments, 6,179 blank, across 212 files in 13 languages (top: Rust 86.4%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving mozilla/mentat to commit e55376e98b3a, 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 medium-sized codebase by counted code lines. Code represents 71.6% of all lines, comments represent 14.8%, and the repository averages 154 code lines per file. Rust accounts for 86.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 114 | 36,840 | 28,220 | 3,531 | 5,089 |
| Swift | 17 | 3,671 | 1,927 | 1,441 | 303 |
| Java | 25 | 2,694 | 1,104 | 1,310 | 280 |
| TOML | 21 | 733 | 559 | 3 | 171 |
| XML | 10 | 285 | 267 | 10 | 8 |
| Shell | 5 | 240 | 172 | 36 | 32 |
| C Header | 2 | 265 | 161 | 69 | 35 |
| Python | 2 | 150 | 101 | 18 | 31 |
| Batch | 1 | 84 | 61 | 0 | 23 |
| Dockerfile | 2 | 117 | 53 | 33 | 31 |
| Prolog | 2 | 46 | 39 | 0 | 7 |
| Kotlin | 1 | 29 | 13 | 9 | 7 |

Top language (Rust 86.4%). Generated at 2026-09-03T01:13:25.982243236+00:00. Canonical report: https://octocounts.com/github/mozilla/mentat

## Report FAQ

### How many lines of code does mozilla/mentat have?

mozilla/mentat has 45,611 total lines, including 32,677 code lines, 6,755 comment lines, and 6,179 blank lines.

### How was the mozilla/mentat line count measured?

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

### What commit was counted for mozilla/mentat?

This OctoCounts report was generated from master at commit e55376e98b3a on 2026-09-03T01:13:25.982243236+00:00.

## Similar repository reports

- [yituorou/meatshell](https://octocounts.com/github/yituorou/meatshell) — Rust, 32,652 code lines
- [huanglizhuo/OctoCounts](https://octocounts.com/github/huanglizhuo/OctoCounts) — Rust, 33,139 code lines
- [huanglizhuo/OctoCount](https://octocounts.com/github/huanglizhuo/OctoCount) — Rust, 33,163 code lines
- [NVIDIA-NeMo/Switchyard](https://octocounts.com/github/NVIDIA-NeMo/Switchyard) — Rust, 32,135 code lines
- [espressif/idf-im-ui](https://octocounts.com/github/espressif/idf-im-ui) — Rust, 32,046 code lines
- [isar/isar](https://octocounts.com/github/isar/isar) — Rust, 31,940 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
