OpenRCT2/OpenRCT2 SLOC report

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.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
C++7066308465654172088144548
C1834107800221883220
C++ Header1549133073543475413033
JSON9543495434900
C Header615659485132270187608
Java1662834585855843
SVG331833135246
TypeScript1579928672180752
Visual Studio Project72000199226
CMake1319051464190251
XML7799772423
JavaScript38377205265

Top language (C++ 67.3%). Generated at 2026-05-09T12:23:04.779966576+00:00.

Report FAQ

How many lines of code does OpenRCT2/OpenRCT2 have?

OpenRCT2/OpenRCT2 has 1,053,758 total lines, including 840,716 code lines, 141,493 comment lines, and 71,549 blank lines.

How was the OpenRCT2/OpenRCT2 line count measured?

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.

What commit was counted for OpenRCT2/OpenRCT2?

This OctoCounts report was generated from develop at commit 169e7345f773 on 2026-05-09T12:23:04.779966576+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: