libretro/RetroArch

libretro/RetroArch has 2,454,876 source lines of code out of 3,057,374 total lines across 9,272 files, counted from the master ref at commit 1815302e85b0 by the OctoCounts tokei engine on 2026-10-12. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

libretro/RetroArch: 2,454,876 code lines at commit 1815302e85b0, counted with tokei-14.0.0 on 2026-10-12. Saved result f119826097454721ccde548acbb92d1601d18c7c7a051b7f0a7f46ee8e92b313.

OctoCounts produced this report by resolving libretro/RetroArch to commit 1815302e85b0, 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.3% of all lines, comments represent 10.7%, and the repository averages 265 code lines per file. C accounts for 40.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C16021285577992667157269135641
C Header1666103894586993610982259187
GLSL4579259793228370339628027
C++1221749651350861817221707
C++ Header3610033879113881912406
Objective-C41367482837644493923
Python105265362253414412561
Bitbake331869218179206307
Makefile445244641738421454935
XML46107009888142670
Shell13113881977527331373
Visual Studio Project178243824300
CSS66862667288102
JavaScript2455254336706483
JSON1724278427602
GNU Style Assembly1749223851603468
Java1749953542802651
Happy1361434360178
Swift417361274203259
CMake1414881187104197
LD Script91304987168149
SVG983782854
Visual Studio Solution14784773011
Metal Shading Language11042748147147
Forge Config161757627848282
Perl15273936371
HTML33773174317
YAML53733134020
Batch6405311094
Lua3322297124
Slang62772053141
Xcode Config103111987241
BASH42381476130
PowerShell113412617
Assembly2149113297
AsciiDoc2134102626
AWK48569133
RPM Specfile18264711
Autoconf58059138
HLSL2514533
Templ1222200
Dockerfile19702
Markdown5210456087621694
Plain Text36531604768548

Top language (C 40.4%). 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,057,374 total lines, including 2,454,876 code lines, 326,181 comment lines, and 276,317 blank lines.

How was the libretro/RetroArch line count measured?

OctoCounts resolved the public GitHub repository to commit 1815302e85b0, 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 1815302e85b0 on 2026-10-12T06:22:19.219652056Z.

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