raysan5/raylib has 509,602 source lines of code out of 658,137 total lines across 903 files, counted with tokei from the master ref at commit bcb85817b5d3 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
raysan5/raylib: 509,602 code lines at commit bcb85817b5d3, counted with tokei-15.0.0 on 2026-11-16. Saved result 1db46e190038915ea3ada0c8816494c36f51d6f464f807922945db5e8e7993dc.
OctoCounts produced this report by resolving raysan5/raylib to commit bcb85817b5d3, 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.
This is a large codebase by counted code lines. Code represents 77.4% of all lines, comments represent 13.2%, and the repository averages 564 code lines per file. C Header accounts for 46.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C Header | 78 | 328229 | 238990 | 52289 | 36950 |
| Visual Studio Project | 232 | 131445 | 131442 | 2 | 1 |
| C | 291 | 125015 | 82057 | 22977 | 19981 |
| XML | 18 | 15566 | 14747 | 105 | 714 |
| JSON | 1 | 13013 | 13013 | 0 | 0 |
| Lua | 1 | 8720 | 8720 | 0 | 0 |
| F# | 173 | 9476 | 6289 | 1204 | 1983 |
| Visual Studio Solution | 2 | 6162 | 6160 | 0 | 2 |
| Objective-C | 5 | 4262 | 3206 | 317 | 739 |
| Makefile | 5 | 2781 | 1777 | 761 | 243 |
| CMake | 27 | 1739 | 1257 | 195 | 287 |
| Zig | 3 | 1154 | 930 | 60 | 164 |
| Shell | 3 | 509 | 392 | 69 | 48 |
| Batch | 6 | 385 | 231 | 127 | 27 |
| Autoconf | 7 | 208 | 187 | 7 | 14 |
| HTML | 2 | 123 | 97 | 7 | 19 |
| GLSL | 3 | 121 | 81 | 13 | 27 |
| Meson | 2 | 50 | 26 | 14 | 10 |
| Markdown | 36 | 3279 | 0 | 2597 | 682 |
| Plain Text | 8 | 5900 | 0 | 5843 | 57 |
Top language: C Header 46.9%. Generated on .
raysan5/raylib: 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.
raysan5/raylib has 509,602 lines of code, plus 86,587 comment lines and 61,948 blank lines, for 658,137 total lines at commit bcb85817b5d3 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit bcb85817b5d3, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit bcb85817b5d3 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for raysan5/raylib on this page — 509,602 code lines across 20 languages, counted by tokei.