libretro/RetroArch has 2,428,400 source lines of code out of 3,000,462 total lines across 5,631 files, counted from the master ref at commit 5f76f0e2bf06 by the OctoCounts tokei engine on 2026-10-25. The report is cached by commit, tokei version, and analysis options, reproduction requires the same commit, engine version, and effective counting rules. Unknown rules in older reports prevent exact reproduction.
As of 2026-10-25 (commit 5f76f0e2bf06), libretro/RetroArch contains 3,000,462 total lines: 2,428,400 code, 327,272 comments, 244,790 blank, across 5,631 files in 42 languages (top: C 49.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving libretro/RetroArch to commit 5f76f0e2bf06, downloading the repository source archive, and counting files selected by the effective rules 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, exact reproduction requires the same commit, engine version, and effective counting rules. Older reports with unknown rules cannot promise exact reproduction.
This is a very large codebase by counted code lines. Code represents 80.9% of all lines, comments represent 10.9%, and the repository averages 431 code lines per file. C accounts for 49.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 2066 | 1530180 | 1212665 | 170656 | 146859 |
| C Header | 1902 | 1118138 | 940966 | 115804 | 61368 |
| C++ Header | 16 | 88308 | 70001 | 7284 | 11023 |
| Python | 223 | 40522 | 36032 | 1529 | 2961 |
| Objective-C | 64 | 43148 | 34389 | 4672 | 4087 |
| Bitbake | 66 | 26231 | 25643 | 228 | 360 |
| C++ | 36 | 30987 | 24423 | 2087 | 4477 |
| Makefile | 563 | 30594 | 22003 | 2518 | 6073 |
| Shell | 138 | 14724 | 10361 | 2957 | 1406 |
| XML | 46 | 10707 | 9892 | 145 | 670 |
| Visual Studio Project | 18 | 9259 | 9259 | 0 | 0 |
| CSS | 6 | 6862 | 6672 | 88 | 102 |
Top language (C 49.9%). Generated at .
libretro/RetroArch: tokei-14.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
libretro/RetroArch has 3,000,462 total lines, including 2,428,400 code lines, 327,272 comment lines, and 244,790 blank lines.
OctoCounts resolved the public GitHub repository to commit 5f76f0e2bf06, 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 5f76f0e2bf06 on 2026-10-25T13:22:09.639318509+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for libretro/RetroArch on this page — 2,428,400 code lines across 12 languages, counted by tokei.