libsdl-org/SDL

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.

As of 2026-10-23 (commit 8adc0f98837d), libsdl-org/SDL contains 810,234 total lines: 599,525 code, 115,199 comments, 95,510 blank, across 1,754 files in 37 languages (top: C 48.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-23 (commit 8adc0f98837d), libsdl-org/SDL contains 810,234 total lines: 599,525 code, 115,199 comments, 95,510 blank, across 1,754 files in 37 languages (top: C 48.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

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.

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 342 code lines per file. C accounts for 48.3% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C6043744672894283552849511
C Header6893352992325986869334008
Objective-C46292222238526414196
XML31122331124366924
CMake53127861032511961265
C++3911812877213271713
Java1267104971872867
Perl758614852377632
Visual Studio Project473910391000
Python1645383644214680
Swift518661408259199
Visual Studio Solution41195119302

Top language (C 48.3%). Generated at .

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 810,234 total lines, including 599,525 code lines, 115,199 comment lines, and 95,510 blank lines.

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

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.

What commit was counted for libsdl-org/SDL?

This OctoCounts report was generated from main at commit 8adc0f98837d on 2026-10-23T09:14:09.484696561+00:00.

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 — 599,525 code lines across 12 languages, counted by tokei.