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.
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 | 36840 | 28220 | 3531 | 5089 |
| Swift | 17 | 3671 | 1927 | 1441 | 303 |
| Java | 25 | 2694 | 1104 | 1310 | 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.
mozilla/mentat has 45,611 total lines, including 32,677 code lines, 6,755 comment lines, and 6,179 blank lines.
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.
This OctoCounts report was generated from master at commit e55376e98b3a on 2026-09-03T01:13:25.982243236+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: