# LadybirdBrowser/ladybird SLOC report

> LadybirdBrowser/ladybird: 2,327,204 code lines at commit 894f7f5173c1, counted with tokei-15.0.0 on 2026-11-16. Saved result c225c0039b8ec56ef2521bea780f6ac0d5c8e97dd68e15b4fdceedd0e23c7290.

LadybirdBrowser/ladybird has 2,327,204 source lines of code out of 3,417,034 total lines across 47,305 files, counted with tokei from the master ref at commit 894f7f5173c1 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving LadybirdBrowser/ladybird to commit 894f7f5173c1, 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

LadybirdBrowser/ladybird: 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 very large codebase by counted code lines. Code represents 68.1% of all lines, comments represent 22.3%, and the repository averages 49 code lines per file. Rust accounts for 35.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 1,945 | 978,424 | 814,829 | 76,506 | 87,089 |
| C++ | 2,533 | 728,403 | 549,079 | 76,995 | 102,329 |
| HTML | 20,720 | 348,915 | 321,399 | 7,849 | 19,667 |
| JavaScript | 3,308 | 347,886 | 284,283 | 27,905 | 35,698 |
| C Header | 2,547 | 224,974 | 154,327 | 26,942 | 43,705 |
| Python | 344 | 91,544 | 74,922 | 4,709 | 11,913 |
| JSON | 81 | 57,607 | 57,606 | 0 | 1 |
| XML | 58 | 36,885 | 36,771 | 40 | 74 |
| CMake | 231 | 15,469 | 12,958 | 926 | 1,585 |
| Objective-C++ | 36 | 8,309 | 6,557 | 568 | 1,184 |
| CSS | 128 | 6,061 | 4,641 | 555 | 865 |
| SVG | 176 | 3,911 | 3,571 | 81 | 259 |
| Shell | 28 | 2,503 | 1,974 | 202 | 327 |
| INI | 3 | 1,677 | 1,371 | 172 | 134 |
| TOML | 51 | 1,228 | 986 | 62 | 180 |
| WebAssembly | 30 | 820 | 677 | 62 | 81 |
| Kotlin | 12 | 730 | 524 | 93 | 113 |
| Autoconf | 11 | 766 | 339 | 279 | 148 |
| Swift | 1 | 206 | 168 | 19 | 19 |
| Dockerfile | 2 | 115 | 80 | 21 | 14 |
| Java | 1 | 63 | 47 | 9 | 7 |
| GLSL | 2 | 50 | 28 | 12 | 10 |
| YAML | 4 | 28 | 24 | 4 | 0 |
| TypeScript | 1 | 115 | 19 | 78 | 18 |
| Prolog | 1 | 21 | 18 | 0 | 3 |
| C | 1 | 9 | 6 | 1 | 2 |
| Markdown | 63 | 11,375 | 0 | 8,510 | 2,865 |
| Plain Text | 14,987 | 548,940 | 0 | 530,934 | 18,006 |

Top language: Rust 35.0%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/LadybirdBrowser/ladybird/commit/894f7f5173c128e32c39dd36956541ec77abd85a?reportId=c225c0039b8ec56ef2521bea780f6ac0d5c8e97dd68e15b4fdceedd0e23c7290&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/LadybirdBrowser/ladybird/commit/894f7f5173c128e32c39dd36956541ec77abd85a?reportId=c225c0039b8ec56ef2521bea780f6ac0d5c8e97dd68e15b4fdceedd0e23c7290&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 LadybirdBrowser/ladybird have?

LadybirdBrowser/ladybird has 2,327,204 lines of code, plus 763,534 comment lines and 326,296 blank lines, for 3,417,034 total lines at commit 894f7f5173c1 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the LadybirdBrowser/ladybird line count measured?

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

### What commit was counted for LadybirdBrowser/ladybird?

This OctoCounts report was generated from master at commit 894f7f5173c1 on November 16, 2026.

## Similar repository reports

- [trycua/cua](https://octocounts.com/github/trycua/cua) — Rust, 2,216,564 code lines
- [expo/exact](https://octocounts.com/github/expo/exact) — Rust, 2,148,190 code lines
- [aptos-labs/aptos-core](https://octocounts.com/github/aptos-labs/aptos-core) — Rust, 2,063,970 code lines
- [wecode-ai/Wegent](https://octocounts.com/github/wecode-ai/Wegent) — Rust, 2,627,586 code lines
- [tangency-labs/solidcraft](https://octocounts.com/github/tangency-labs/solidcraft) — Rust, 2,634,963 code lines
- [oven-sh/bun](https://octocounts.com/github/oven-sh/bun) — Rust, 2,638,578 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [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)
