raysan5/raylib SLOC report

As of 2026-09-07 (commit 2b991b0243c3), raysan5/raylib contains 645,695 total lines: 498,679 code, 85,698 comments, 61,318 blank, across 889 files in 20 languages (top: C Header 47.4%). Counted with tokei via OctoCounts.

As of 2026-09-07 (commit 2b991b0243c3), raysan5/raylib contains 645,695 total lines: 498,679 code, 85,698 comments, 61,318 blank, across 889 files in 20 languages (top: C Header 47.4%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving raysan5/raylib to commit 2b991b0243c3, 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 77.2% of all lines, comments represent 13.3%, and the repository averages 561 code lines per file. C Header accounts for 47.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C Header773244872362275163136629
Visual Studio Project22112518612518321
C289123466808502289319723
XML181538914571105713
JSON1130131301300
Lua18720872000
F#1739476628912041983
Visual Studio Solution25865586302
Objective-C542623206317739
Makefile527261733755238
CMake2717271250192285
Zig395676049147

Top language (C Header 47.4%). Generated at 2026-09-07T01:17:07.306779570+00:00.

Report FAQ

How many lines of code does raysan5/raylib have?

raysan5/raylib has 645,695 total lines, including 498,679 code lines, 85,698 comment lines, and 61,318 blank lines.

How was the raysan5/raylib line count measured?

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

What commit was counted for raysan5/raylib?

This OctoCounts report was generated from 2b991b0243c3dccf48ed926bcb754c60846f96c1 at commit 2b991b0243c3 on 2026-09-07T01:17:07.306779570+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: