# OpenRCT2/OpenRCT2 SLOC report

> As of 2026-09-16 (commit cb105f66dd2a), OpenRCT2/OpenRCT2 contains 1,067,687 total lines: 854,277 code, 141,245 comments, 72,165 blank, across 1,640 files in 25 languages (top: C++ 66.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

OpenRCT2/OpenRCT2 has 854,277 source lines of code out of 1,067,687 total lines across 1,640 files, counted from the cb105f66dd2a71da4226ab6c4be5da1f8a6b30ff ref at commit cb105f66dd2a by the OctoCounts tokei engine on 2026-09-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving OpenRCT2/OpenRCT2 to commit cb105f66dd2a, 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 80.0% of all lines, comments represent 13.2%, and the repository averages 521 code lines per file. C++ accounts for 66.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 704 | 635,838 | 570,107 | 20,855 | 44,876 |
| C | 1 | 83,410 | 78,002 | 2,188 | 3,220 |
| C++ Header | 155 | 91,539 | 73,660 | 4,779 | 13,100 |
| JSON | 8 | 58,018 | 58,018 | 0 | 0 |
| C Header | 640 | 66,917 | 51,788 | 7,277 | 7,852 |
| Cython | 1 | 4,711 | 4,700 | 7 | 4 |
| Java | 16 | 6,224 | 4,542 | 845 | 837 |
| SVG | 3 | 3,183 | 3,135 | 2 | 46 |
| TypeScript | 1 | 5,981 | 2,915 | 2,294 | 772 |
| Visual Studio Project | 6 | 1,926 | 1,920 | 1 | 5 |
| CMake | 12 | 1,861 | 1,424 | 190 | 247 |
| XML | 7 | 815 | 788 | 4 | 23 |

Top language (C++ 66.7%). Generated at 2026-09-16T03:33:36.431289299+00:00. Canonical report: https://octocounts.com/github/OpenRCT2/OpenRCT2

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/OpenRCT2/OpenRCT2/commit/cb105f66dd2a71da4226ab6c4be5da1f8a6b30ff?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does OpenRCT2/OpenRCT2 have?

OpenRCT2/OpenRCT2 has 1,067,687 total lines, including 854,277 code lines, 141,245 comment lines, and 72,165 blank lines.

### How was the OpenRCT2/OpenRCT2 line count measured?

OctoCounts resolved the public GitHub repository to commit cb105f66dd2a, 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 cb105f66dd2a71da4226ab6c4be5da1f8a6b30ff at commit cb105f66dd2a on 2026-09-16T03:33:36.431289299+00:00.

## Similar repository reports

- [AyuGram/AyuGramDesktop](https://octocounts.com/github/AyuGram/AyuGramDesktop) — C++, 840,188 code lines
- [protocolbuffers/protobuf](https://octocounts.com/github/protocolbuffers/protobuf) — C++, 871,834 code lines
- [apache/trafficserver](https://octocounts.com/github/apache/trafficserver) — C++, 880,616 code lines
- [organicmaps/organicmaps](https://octocounts.com/github/organicmaps/organicmaps) — C++, 887,058 code lines
- [The-OpenROAD-Project/OpenROAD](https://octocounts.com/github/The-OpenROAD-Project/OpenROAD) — C++, 783,027 code lines
- [ggml-org/llama.cpp](https://octocounts.com/github/ggml-org/llama.cpp) — C++, 722,120 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
