love2d/love SLOC report
As of 2026-06-07 (commit e13fd06e59ab), love2d/love contains 852,089 total lines: 672,209 code, 74,807 comments, 105,073 blank, across 1,078 files in 19 languages (top: C++ Header 40.8%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 78.9% of all lines, comments represent 8.8%, and the repository averages 624 code lines per file. C++ Header accounts for 40.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| C++ Header | 35 | 321261 | 274295 | 5931 | 41035 |
| C++ | 373 | 258257 | 199676 | 24278 | 34303 |
| C Header | 504 | 205915 | 151282 | 33222 | 21411 |
| C | 59 | 31797 | 24174 | 3134 | 4489 |
| Lua | 51 | 16390 | 12208 | 2338 | 1844 |
| Objective-C++ | 12 | 5523 | 4294 | 358 | 871 |
| CMake | 9 | 2401 | 1834 | 315 | 252 |
| SVG | 2 | 1755 | 1751 | 2 | 2 |
| Autoconf | 5 | 1229 | 1055 | 11 | 163 |
| XML | 2 | 777 | 777 | 0 | 0 |
| Makefile | 2 | 487 | 306 | 106 | 75 |
| JSON | 3 | 186 | 186 | 0 | 0 |
Top language (C++ Header 40.8%). Generated at 2026-06-07T17:19:06.440786367+00:00.
Report FAQ
How many lines of code does love2d/love have?
love2d/love has 852,089 total lines, including 672,209 code lines, 74,807 comment lines, and 105,073 blank lines.
How was the love2d/love line count measured?
OctoCounts resolved the public GitHub repository to commit e13fd06e59ab, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for love2d/love?
This OctoCounts report was generated from main at commit e13fd06e59ab on 2026-06-07T17:19:06.440786367+00:00.