libsdl-org/SDL has 599,525 source lines of code out of 810,234 total lines across 1,754 files, counted from the main ref at commit 8adc0f98837d by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
libsdl-org/SDL: 599,525 code lines at commit 8adc0f98837d, counted with tokei-14.0.0 on 2026-10-23. Saved result 9237005ddee90a04bcd5d0914eb755612c651614b199d52c9ac8c902791e7ae9.
OctoCounts produced this report by resolving libsdl-org/SDL to commit 8adc0f98837d, 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.
This is a large codebase by counted code lines. Code represents 74.0% of all lines, comments represent 14.2%, and the repository averages 342 code lines per file. C accounts for 48.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 604 | 374467 | 289428 | 35528 | 49511 |
| C Header | 689 | 335299 | 232598 | 68693 | 34008 |
| Objective-C | 46 | 29222 | 22385 | 2641 | 4196 |
| XML | 31 | 12233 | 11243 | 66 | 924 |
| CMake | 53 | 12786 | 10325 | 1196 | 1265 |
| C++ | 39 | 11812 | 8772 | 1327 | 1713 |
| Java | 12 | 6710 | 4971 | 872 | 867 |
| Perl | 7 | 5861 | 4852 | 377 | 632 |
| Visual Studio Project | 47 | 3910 | 3910 | 0 | 0 |
| Python | 16 | 4538 | 3644 | 214 | 680 |
| Swift | 5 | 1866 | 1408 | 259 | 199 |
| Visual Studio Solution | 4 | 1195 | 1193 | 0 | 2 |
| Shell | 18 | 1117 | 810 | 116 | 191 |
| HLSL | 27 | 851 | 680 | 27 | 144 |
| Autoconf | 24 | 978 | 678 | 96 | 204 |
| Metal Shading Language | 2 | 494 | 410 | 22 | 62 |
| JSON | 10 | 297 | 296 | 0 | 1 |
| MSBuild | 4 | 275 | 275 | 0 | 0 |
| M4 | 2 | 466 | 268 | 165 | 33 |
| CSS | 1 | 284 | 227 | 4 | 53 |
| Automake | 7 | 224 | 172 | 5 | 47 |
| Makefile | 5 | 218 | 155 | 19 | 44 |
| C++ Header | 4 | 291 | 148 | 92 | 51 |
| Batch | 8 | 172 | 134 | 0 | 38 |
| HTML | 3 | 144 | 129 | 0 | 15 |
| BASH | 1 | 160 | 122 | 21 | 17 |
| Prolog | 1 | 80 | 74 | 0 | 6 |
| C# | 1 | 91 | 56 | 27 | 8 |
| Ark TypeScript | 3 | 59 | 45 | 7 | 7 |
| Lua | 1 | 79 | 43 | 21 | 15 |
| HICAD | 1 | 46 | 36 | 0 | 10 |
| Meson | 1 | 22 | 18 | 0 | 4 |
| TypeScript | 3 | 13 | 11 | 0 | 2 |
| Xcode Config | 3 | 36 | 7 | 19 | 10 |
| Snakemake | 1 | 36 | 2 | 27 | 7 |
| Markdown | 17 | 1142 | 0 | 822 | 320 |
| Plain Text | 53 | 2760 | 0 | 2536 | 224 |
Top language (C 48.3%). Generated at .
libsdl-org/SDL has 810,234 total lines, including 599,525 code lines, 115,199 comment lines, and 95,510 blank lines.
OctoCounts resolved the public GitHub repository to commit 8adc0f98837d, 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 main at commit 8adc0f98837d on 2026-10-23T09:14:09.484696561Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for libsdl-org/SDL on this page — 599,525 code lines across 37 languages, counted by tokei.