# LadybirdBrowser/ladybird SLOC report

> As of 2026-09-16 (commit 2c6a430039a9), LadybirdBrowser/ladybird contains 2,432,886 total lines: 1,565,247 code, 615,645 comments, 251,994 blank, across 28,813 files in 27 languages (top: C++ 33.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

LadybirdBrowser/ladybird has 1,565,247 source lines of code out of 2,432,886 total lines across 28,813 files, counted from the 2c6a430039a9bd9087980df5ee533cbef89ff652 ref at commit 2c6a430039a9 by the OctoCounts tokei engine on 2026-09-16. 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 LadybirdBrowser/ladybird to commit 2c6a430039a9, 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 very large codebase by counted code lines. Code represents 64.3% of all lines, comments represent 25.3%, and the repository averages 54 code lines per file. C++ accounts for 33.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 2,513 | 730,214 | 523,663 | 92,691 | 113,860 |
| Rust | 436 | 405,841 | 360,391 | 17,334 | 28,116 |
| JavaScript | 2,224 | 245,260 | 196,874 | 20,488 | 27,898 |
| C Header | 2,639 | 234,950 | 163,464 | 24,510 | 46,976 |
| HTML | 11,312 | 157,112 | 145,495 | 3,847 | 7,770 |
| JSON | 50 | 57,026 | 57,023 | 0 | 3 |
| Python | 188 | 64,877 | 52,570 | 3,401 | 8,906 |
| XML | 49 | 36,007 | 35,954 | 39 | 14 |
| Objective-C++ | 39 | 13,760 | 10,920 | 418 | 2,422 |
| CMake | 180 | 10,401 | 8,897 | 510 | 994 |
| CSS | 100 | 4,768 | 3,598 | 481 | 689 |
| SVG | 135 | 2,742 | 2,507 | 69 | 166 |

Top language (C++ 33.5%). Generated at 2026-09-16T02:48:21.924618335+00:00. Canonical report: https://octocounts.com/github/LadybirdBrowser/ladybird

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/LadybirdBrowser/ladybird/commit/2c6a430039a9bd9087980df5ee533cbef89ff652?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).

## Report FAQ

### How many lines of code does LadybirdBrowser/ladybird have?

LadybirdBrowser/ladybird has 2,432,886 total lines, including 1,565,247 code lines, 615,645 comment lines, and 251,994 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 2c6a430039a9, 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 2c6a430039a9bd9087980df5ee533cbef89ff652 at commit 2c6a430039a9 on 2026-09-16T02:48:21.924618335+00:00.

## Similar repository reports

- [v8/v8](https://octocounts.com/github/v8/v8) — C++, 1,569,920 code lines
- [wxwidgets/wxwidgets](https://octocounts.com/github/wxwidgets/wxwidgets) — C++, 1,210,584 code lines
- [ceph/ceph](https://octocounts.com/github/ceph/ceph) — C++, 1,926,554 code lines
- [Open-Cascade-SAS/OCCT](https://octocounts.com/github/Open-Cascade-SAS/OCCT) — C++, 2,027,728 code lines
- [duckdb/duckdb](https://octocounts.com/github/duckdb/duckdb) — C++, 1,090,652 code lines
- [ammaarreshi/Generals-Mac-iOS-iPad](https://octocounts.com/github/ammaarreshi/Generals-Mac-iOS-iPad) — C++, 1,033,110 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [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)
