libretro/RetroArch

libretro/RetroArch has 2,688,408 source lines of code out of 3,322,919 total lines across 10,015 files, counted from the master ref at commit 18d2e1df1d33 by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

libretro/RetroArch: 2,688,408 code lines at commit 18d2e1df1d33, counted with tokei-14.0.0 on 2026-10-21. Saved result 21b2e01bbfd5a709d86faa3230d38628b47a54724b045f2a6c9914c4677fe4d3.

OctoCounts produced this report by resolving libretro/RetroArch to commit 18d2e1df1d33, 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 very large codebase by counted code lines. Code represents 80.9% of all lines, comments represent 10.4%, and the repository averages 268 code lines per file. C accounts for 41.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C190614354751126425166045143005
C Header1879112681494602811776163025
GLSL4585260215228757340228056
C++1231751451352221819821725
C++ Header3610033879113881912406
Objective-C57418033307146444088
Python181357343142614762832
Bitbake412253221975213344
Makefile523285682049223575719
Shell140144511016028521439
XML46107059890145670
Visual Studio Project189271927100
CSS66862667288102
JSON1765168516602
JavaScript2556364431715490
GNU Style Assembly1749223851603468
Java1750443589803652
Happy1361434360178
Swift417361274203259
CMake1414881187104197
LD Script91304987168149
Visual Studio Solution15899887012
SVG983782854
Metal Shading Language11090782157151
Forge Config161760627850283
Perl15273936371
HTML33773174317
YAML53733134020
Batch6405311094
Lua3322297124
Slang62772053141
Xcode Config103131997341
BASH42381476130
PowerShell113412617
HLSL512511753
Assembly2149113297
AsciiDoc2134102626
AWK48569133
RPM Specfile18264711
Autoconf58059138
Templ1222200
Dockerfile19702
Markdown74125310106221909
Plain Text36532504777548

Top language (C 41.9%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does libretro/RetroArch have?

libretro/RetroArch has 3,322,919 total lines, including 2,688,408 code lines, 345,393 comment lines, and 289,118 blank lines.

How was the libretro/RetroArch line count measured?

OctoCounts resolved the public GitHub repository to commit 18d2e1df1d33, 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 18d2e1df1d33 on 2026-10-21T03:43:39.765254933Z.

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,688,408 code lines across 44 languages, counted by tokei.