# love2d/love SLOC report

> As of 2026-09-05 (commit a0ea2596798c), love2d/love contains 873,351 total lines: 689,874 code, 76,226 comments, 107,251 blank, across 1,084 files in 19 languages (top: C++ Header 40.3%). Default configuration. Counted with tokei via OctoCounts.

love2d/love has 689,874 source lines of code out of 873,351 total lines across 1,084 files, counted from the main ref at commit a0ea2596798c by the OctoCounts tokei engine on 2026-09-05. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving love2d/love to commit a0ea2596798c, 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 79.0% of all lines, comments represent 8.7%, and the repository averages 636 code lines per file. C++ Header accounts for 40.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ Header | 35 | 324,848 | 277,702 | 5,986 | 41,160 |
| C++ | 374 | 268,604 | 208,278 | 24,892 | 35,434 |
| C Header | 509 | 213,078 | 156,817 | 33,950 | 22,311 |
| C | 59 | 31,797 | 24,174 | 3,134 | 4,489 |
| Lua | 51 | 16,488 | 12,304 | 2,339 | 1,845 |
| Objective-C++ | 12 | 5,565 | 4,315 | 362 | 888 |
| CMake | 9 | 2,414 | 1,838 | 322 | 254 |
| SVG | 2 | 1,755 | 1,751 | 2 | 2 |
| Autoconf | 5 | 1,229 | 1,055 | 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.3%). Generated at 2026-09-05T19:05:32.148992886+00:00. Canonical report: https://octocounts.com/github/love2d/love

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/love2d/love/commit/a0ea2596798c3517d9117a98dc02871a11ed88cd?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Atrue%2C%22includeTests%22%3Atrue%2C%22includeGenerated%22%3Atrue%7D).

## Report FAQ

### How many lines of code does love2d/love have?

love2d/love has 873,351 total lines, including 689,874 code lines, 76,226 comment lines, and 107,251 blank lines.

### How was the love2d/love line count measured?

OctoCounts resolved the public GitHub repository to commit a0ea2596798c, 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 a0ea2596798c on 2026-09-05T19:05:32.148992886+00:00.

## Similar repository reports

- [lightvector/KataGo](https://octocounts.com/github/lightvector/KataGo) — C++ Header, 701,870 code lines
- [gexgd0419/NaturalVoiceSAPIAdapter](https://octocounts.com/github/gexgd0419/NaturalVoiceSAPIAdapter) — C++ Header, 230,023 code lines
- [seanbaxter/circle](https://octocounts.com/github/seanbaxter/circle) — C++ Header, 99,332 code lines
- [bytedance/flux](https://octocounts.com/github/bytedance/flux) — C++ Header, 53,975 code lines
- [xtensor-stack/xtensor](https://octocounts.com/github/xtensor-stack/xtensor) — C++ Header, 41,480 code lines
- [nlohmann/json](https://octocounts.com/github/nlohmann/json) — C++ Header, 40,672 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
