libsdl-org/SDL

libsdl-org/SDL has 598,441 source lines of code out of 808,799 total lines across 1,758 files, counted with tokei from the main ref at commit aa605000a71b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit aa605000a71b), libsdl-org/SDL contains 808,799 total lines: 598,441 code, 115,173 comments, 95,185 blank, across 1,758 files in 37 languages (top language: C 48.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit aa605000a71b), libsdl-org/SDL contains 808,799 total lines: 598,441 code, 115,173 comments, 95,185 blank, across 1,758 files in 37 languages (top language: C 48.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving libsdl-org/SDL to commit aa605000a71b, 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.

Repository size insights

This is a large codebase by counted code lines. Code represents 74.0% of all lines, comments represent 14.2%, and the repository averages 340 code lines per file. C accounts for 48.1% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C6063720992877213529549083
C Header6883355642326516884234071
Objective-C46294992260926734217
XML31122331124366924
CMake53128131035211951266
C++3911990895513341701
Java1268565082890884
Perl758614852377632
Visual Studio Project483903390300
Python1745833675215693
Swift518661408259199
Visual Studio Solution41195119302

Top language: C 48.1%. Generated on .

Counting rules and retention

libsdl-org/SDL: 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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does libsdl-org/SDL have?

libsdl-org/SDL has 598,441 lines of code, plus 115,173 comment lines and 95,185 blank lines, for 808,799 total lines at commit aa605000a71b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the libsdl-org/SDL line count measured?

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

What commit was counted for libsdl-org/SDL?

This OctoCounts report was generated from main at commit aa605000a71b on November 16, 2026.

Play the growth animation for libsdl-org/SDL on this page — 598,441 code lines across 37 languages, counted by tokei.