# love2d/love SLOC report

> love2d/love: 685,087 code lines at commit def245102c67, counted with tokei-15.0.0 on 2026-11-05. Saved result d13339813af9983f7147054684fa4c2548fe6a1d5a929c9a7ea5e5cdd149beba.

love2d/love has 685,087 source lines of code out of 866,285 total lines across 1,063 files, counted with tokei from the main ref at commit def245102c67 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving love2d/love to commit def245102c67, 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.

## Counting rules and retention

love2d/love: 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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 79.1% of all lines, comments represent 8.7%, and the repository averages 644 code lines per file. C++ Header accounts for 40.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ Header | 35 | 324,848 | 277,702 | 5,986 | 41,160 |
| C++ | 374 | 268,772 | 208,422 | 24,892 | 35,458 |
| C Header | 509 | 213,107 | 156,842 | 33,951 | 22,314 |
| C | 59 | 31,797 | 24,174 | 3,134 | 4,489 |
| Lua | 30 | 9,193 | 7,321 | 1,089 | 783 |
| Objective-C++ | 12 | 5,597 | 4,342 | 362 | 893 |
| 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 |
| Java | 1 | 190 | 150 | 7 | 33 |
| Objective-C | 1 | 201 | 143 | 15 | 43 |
| JavaScript | 2 | 82 | 74 | 0 | 8 |
| HTML | 1 | 4 | 4 | 0 | 0 |
| GLSL | 1 | 38 | 0 | 37 | 1 |
| Markdown | 4 | 314 | 0 | 241 | 73 |
| Plain Text | 11 | 5,294 | 0 | 4,822 | 472 |

Top language: C++ Header 40.5%. Generated on November 5, 2026. Canonical report: https://octocounts.com/github/love2d/love/commit/def245102c67909f9902095af613b1ae05249b62?reportId=d13339813af9983f7147054684fa4c2548fe6a1d5a929c9a7ea5e5cdd149beba&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

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

## Report FAQ

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

love2d/love has 685,087 lines of code, plus 74,977 comment lines and 106,221 blank lines, for 866,285 total lines at commit def245102c67 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit def245102c67, 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 def245102c67 on November 5, 2026.

## Similar repository reports

- [lightvector/KataGo](https://octocounts.com/github/lightvector/KataGo) — C++ Header, 702,153 code lines
- [kokkos/kokkos](https://octocounts.com/github/kokkos/kokkos) — C++ Header, 247,273 code lines
- [gexgd0419/NaturalVoiceSAPIAdapter](https://octocounts.com/github/gexgd0419/NaturalVoiceSAPIAdapter) — C++ Header, 230,200 code lines
- [stack-of-tasks/pinocchio](https://octocounts.com/github/stack-of-tasks/pinocchio) — C++ Header, 198,409 code lines
- [storytold/font-preview-service](https://octocounts.com/github/storytold/font-preview-service) — C++ Header, 151,205 code lines
- [boostorg/asio](https://octocounts.com/github/boostorg/asio) — C++ Header, 146,037 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
