OpenJTD/rjtd has 125,572 source lines of code out of 141,181 total lines across 126 files, counted from the main ref at commit cfb44c9ac531 by the OctoCounts tokei engine on 2026-10-04. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-04 (commit cfb44c9ac531), OpenJTD/rjtd contains 141,181 total lines: 125,572 code, 8,384 comments, 7,225 blank, across 126 files in 9 languages (top: Rust 95.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving OpenJTD/rjtd to commit cfb44c9ac531, 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 large codebase by counted code lines. Code represents 88.9% of all lines, comments represent 5.9%, and the repository averages 997 code lines per file. Rust accounts for 95.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 61 | 124950 | 119844 | 73 | 5033 |
| JavaScript | 1 | 5961 | 4273 | 1648 | 40 |
| TypeScript | 3 | 1068 | 967 | 55 | 46 |
| Shell | 5 | 295 | 240 | 5 | 50 |
| TOML | 8 | 191 | 167 | 0 | 24 |
| HTML | 1 | 61 | 57 | 0 | 4 |
| JSON | 1 | 20 | 20 | 0 | 0 |
| SVG | 1 | 4 | 4 | 0 | 0 |
| Markdown | 45 | 8631 | 0 | 6603 | 2028 |
Top language (Rust 95.4%). Generated at .
OpenJTD/rjtd has 141,181 total lines, including 125,572 code lines, 8,384 comment lines, and 7,225 blank lines.
OctoCounts resolved the public GitHub repository to commit cfb44c9ac531, 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 main at commit cfb44c9ac531 on 2026-10-04T14:54:58.834995831+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for OpenJTD/rjtd on this page — 125,572 code lines across 9 languages, counted by tokei.