# erincatto/box2d SLOC report

> As of 2026-11-09 (commit dd8bd3fb525f), erincatto/box2d contains 129,572 total lines: 105,751 code, 8,556 comments, 15,265 blank, across 164 files in 15 languages (top language: C 31.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

erincatto/box2d has 105,751 source lines of code out of 129,572 total lines across 164 files, counted with tokei from the main ref at commit dd8bd3fb525f on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving erincatto/box2d to commit dd8bd3fb525f, 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

erincatto/box2d: 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 81.6% of all lines, comments represent 6.6%, and the repository averages 645 code lines per file. C accounts for 31.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 53 | 42,756 | 33,078 | 2,823 | 6,855 |
| JSON | 3 | 32,297 | 32,297 | 0 | 0 |
| C++ | 24 | 29,005 | 23,054 | 933 | 5,018 |
| C Header | 54 | 20,610 | 13,720 | 4,273 | 2,617 |
| C++ Header | 2 | 2,387 | 1,782 | 194 | 411 |
| CMake | 5 | 703 | 525 | 84 | 94 |
| Python | 1 | 512 | 439 | 6 | 67 |
| SVG | 6 | 394 | 382 | 6 | 6 |
| Zig | 1 | 263 | 222 | 6 | 35 |
| F# | 7 | 303 | 169 | 61 | 73 |
| Swift | 1 | 46 | 43 | 2 | 1 |
| Batch | 1 | 24 | 22 | 0 | 2 |

Top language: C 31.3%. Generated on November 9, 2026. Canonical report: https://octocounts.com/github/erincatto/box2d

## Reproduce this report

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

## Report FAQ

### How many lines of code does erincatto/box2d have?

erincatto/box2d has 105,751 lines of code, plus 8,556 comment lines and 15,265 blank lines, for 129,572 total lines at commit dd8bd3fb525f on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the erincatto/box2d line count measured?

OctoCounts resolved the public GitHub repository to commit dd8bd3fb525f, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for erincatto/box2d?

This OctoCounts report was generated from main at commit dd8bd3fb525f on November 9, 2026.

## Similar repository reports

- [unbit/uwsgi](https://octocounts.com/github/unbit/uwsgi) — C, 102,503 code lines
- [TinyCC/tinycc](https://octocounts.com/github/TinyCC/tinycc) — C, 102,480 code lines
- [lighttpd/lighttpd1.4](https://octocounts.com/github/lighttpd/lighttpd1.4) — C, 110,195 code lines
- [mk94mishra/walletkit](https://octocounts.com/github/mk94mishra/walletkit) — C, 110,821 code lines
- [noctalia-dev/noctalia-greeter](https://octocounts.com/github/noctalia-dev/noctalia-greeter) — C, 111,884 code lines
- [ioraff/eiwd](https://octocounts.com/github/ioraff/eiwd) — C, 112,326 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
