libretro/RetroArch

libretro/RetroArch has 2,829,492 source lines of code out of 3,456,531 total lines across 6,664 files, counted with tokei from the master ref at commit ea782bddfced on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

libretro/RetroArch: 2,829,492 code lines at commit ea782bddfced, counted with tokei-15.0.0 on 2026-11-16. Saved result c41d901a7cba63bc2b611ab9a0d14f15c15d70e43e5c1ea6b3683d713f507c7a.

OctoCounts produced this report by resolving libretro/RetroArch to commit ea782bddfced, 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a very large codebase by counted code lines. Code represents 81.9% of all lines, comments represent 10.5%, and the repository averages 425 code lines per file. C accounts for 53.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C257018682981512164193077163057
C Header22041204382101952712188262973
C++ Header168830870001728411023
Python304547194886618893964
Objective-C68446443581847134113
Bitbake722807527480234361
Makefile693379482746330147471
C++33301982399420814123
Shell145157801118331341463
XML48107199902147670
Visual Studio Project189413941300
CSS66862667288102
Java2266184845998775
JavaScript2556364431715490
GNU Style Assembly1852704221584465
JSON1442943294102
GLSL7230972517257323
Swift316641214194256
LD Script91304987168149
Visual Studio Solution16950937013
Metal Shading Language21213900162151
SVG983782854
Forge Config161767627855285
Perl15273936371
HTML33773174317
Batch6405311094
Lua2316293320
YAML322522302
Slang72932213141
Xcode Config103101957441
PowerShell113412617
AWK7142118213
AsciiDoc112396324
HLSL3747220
RPM Specfile18264711
Assembly18958247
Autoconf1393180
Templ1222200
CMake1251906
Snakemake18260
Markdown70125280108181710
Plain Text311016709805362

Top language: C 53.4%. Generated on .

Counting rules and retention

libretro/RetroArch: tokei-15.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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does libretro/RetroArch have?

libretro/RetroArch has 2,829,492 lines of code, plus 362,390 comment lines and 264,649 blank lines, for 3,456,531 total lines at commit ea782bddfced on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the libretro/RetroArch line count measured?

OctoCounts resolved the public GitHub repository to commit ea782bddfced, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for libretro/RetroArch?

This OctoCounts report was generated from master at commit ea782bddfced on November 16, 2026.

Similar repository reports

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,829,492 code lines across 42 languages, counted by tokei.