As of 2026-05-09 (commit 169e7345f773), OpenRCT2/OpenRCT2 contains 1,053,758 total lines: 840,716 code, 141,493 comments, 71,549 blank, across 1,622 files in 24 languages (top: C++ 67.3%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving OpenRCT2/OpenRCT2 to commit 169e7345f773, 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 79.8% of all lines, comments represent 13.4%, and the repository averages 518 code lines per file. C++ accounts for 67.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 706 | 630846 | 565417 | 20881 | 44548 |
| C | 1 | 83410 | 78002 | 2188 | 3220 |
| C++ Header | 154 | 91330 | 73543 | 4754 | 13033 |
| JSON | 9 | 54349 | 54349 | 0 | 0 |
| C Header | 615 | 65948 | 51322 | 7018 | 7608 |
| Java | 16 | 6283 | 4585 | 855 | 843 |
| SVG | 3 | 3183 | 3135 | 2 | 46 |
| TypeScript | 1 | 5799 | 2867 | 2180 | 752 |
| Visual Studio Project | 7 | 2000 | 1992 | 2 | 6 |
| CMake | 13 | 1905 | 1464 | 190 | 251 |
| XML | 7 | 799 | 772 | 4 | 23 |
| JavaScript | 3 | 837 | 720 | 52 | 65 |
Top language (C++ 67.3%). Generated at 2026-05-09T12:23:04.779966576+00:00.
OpenRCT2/OpenRCT2 has 1,053,758 total lines, including 840,716 code lines, 141,493 comment lines, and 71,549 blank lines.
OctoCounts resolved the public GitHub repository to commit 169e7345f773, 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 develop at commit 169e7345f773 on 2026-05-09T12:23:04.779966576+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: