raysan5/raylib SLOC report
As of 2026-05-30 (commit 10a889c482bc), raysan5/raylib contains 642,279 total lines: 501,006 code, 82,369 comments, 58,904 blank, across 894 files in 20 languages (top: C Header 48.3%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 78.0% of all lines, comments represent 12.8%, and the repository averages 560 code lines per file. C Header accounts for 48.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| C Header | 83 | 326223 | 241841 | 49213 | 35169 |
| Visual Studio Project | 222 | 125412 | 125409 | 2 | 1 |
| C | 285 | 118749 | 77853 | 22099 | 18797 |
| XML | 21 | 15390 | 14496 | 171 | 723 |
| JSON | 1 | 12572 | 12572 | 0 | 0 |
| Lua | 1 | 8525 | 8525 | 0 | 0 |
| F# | 169 | 9323 | 6181 | 1192 | 1950 |
| Visual Studio Solution | 3 | 5940 | 5937 | 0 | 3 |
| Objective-C | 5 | 4281 | 3214 | 328 | 739 |
| Makefile | 6 | 3122 | 1940 | 904 | 278 |
| CMake | 28 | 1753 | 1264 | 200 | 289 |
| Zig | 3 | 956 | 760 | 49 | 147 |
Top language (C Header 48.3%). Generated at 2026-05-30T20:47:58.314557507+00:00.
Report FAQ
How many lines of code does raysan5/raylib have?
raysan5/raylib has 642,279 total lines, including 501,006 code lines, 82,369 comment lines, and 58,904 blank lines.
How was the raysan5/raylib line count measured?
OctoCounts resolved the public GitHub repository to commit 10a889c482bc, 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 master at commit 10a889c482bc on 2026-05-30T20:47:58.314557507+00:00.