libsdl-org/SDL

libsdl-org/SDL has 598,674 source lines of code out of 809,112 total lines across 1,758 files, counted with tokei from the main ref at commit 35122e2223b8 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-17 (commit 35122e2223b8), libsdl-org/SDL contains 809,112 total lines: 598,674 code, 115,219 comments, 95,219 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-17 (commit 35122e2223b8), libsdl-org/SDL contains 809,112 total lines: 598,674 code, 115,219 comments, 95,219 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 35122e2223b8, 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 341 code lines per file. C accounts for 48.1% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C6063723232879213529349109
C Header6883356232326626888634075
Objective-C46294992260926734217
XML31122331124366924
CMake53128131035211951266
C++3911990895513341701
Java1268865104894888
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,674 lines of code, plus 115,219 comment lines and 95,219 blank lines, for 809,112 total lines at commit 35122e2223b8 on November 17, 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 35122e2223b8, 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 35122e2223b8 on November 17, 2026.

Similar repository reports

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 — 598,674 code lines across 37 languages, counted by tokei.