# haiku/haiku SLOC report

> As of 2026-11-16 (commit b68ffade9ebf), haiku/haiku contains 4,359,341 total lines: 3,081,894 code, 578,376 comments, 699,071 blank, across 15,119 files in 29 languages (top language: C++ 46.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

haiku/haiku has 3,081,894 source lines of code out of 4,359,341 total lines across 15,119 files, counted with tokei from the master ref at commit b68ffade9ebf on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving haiku/haiku to commit b68ffade9ebf, 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

haiku/haiku: 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 70.7% of all lines, comments represent 13.3%, and the repository averages 204 code lines per file. C++ accounts for 46.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 5,092 | 2,002,212 | 1,428,867 | 183,986 | 389,359 |
| C | 2,288 | 1,169,136 | 829,779 | 204,401 | 134,956 |
| C Header | 7,221 | 1,074,316 | 730,823 | 178,987 | 164,506 |
| INI | 23 | 32,743 | 29,348 | 142 | 3,253 |
| Bitbake | 24 | 27,993 | 27,614 | 182 | 197 |
| GNU Style Assembly | 273 | 19,343 | 12,186 | 4,247 | 2,910 |
| Module-Definition | 7 | 5,126 | 4,947 | 0 | 179 |
| HTML | 18 | 3,902 | 3,829 | 42 | 31 |
| Happy | 4 | 4,235 | 3,727 | 0 | 508 |
| Shell | 52 | 4,411 | 3,218 | 608 | 585 |
| LD Script | 32 | 2,345 | 1,797 | 314 | 234 |
| JavaScript | 1 | 2,251 | 1,714 | 25 | 512 |

Top language: C++ 46.4%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/haiku/haiku

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/haiku/haiku/commit/b68ffade9ebf0b3eecd5fe296b3e9d7462041e0e?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=d795bfbd2550e3b9047ed29dbb1122d64487f0372dcbc7b182dcf4c41e6be8f1).

## Report FAQ

### How many lines of code does haiku/haiku have?

haiku/haiku has 3,081,894 lines of code, plus 578,376 comment lines and 699,071 blank lines, for 4,359,341 total lines at commit b68ffade9ebf on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the haiku/haiku line count measured?

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

### What commit was counted for haiku/haiku?

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

## Similar repository reports

- [RosettaCommons/rosetta](https://octocounts.com/github/RosettaCommons/rosetta) — C++, 3,115,192 code lines
- [ring-lang/ring](https://octocounts.com/github/ring-lang/ring) — C++, 2,954,278 code lines
- [SunguckLee/Real-MongoDB](https://octocounts.com/github/SunguckLee/Real-MongoDB) — C++, 2,880,417 code lines
- [klzgrad/naiveproxy](https://octocounts.com/github/klzgrad/naiveproxy) — C++, 3,335,470 code lines
- [hwCloudDBSDDS/dds](https://octocounts.com/github/hwCloudDBSDDS/dds) — C++, 3,403,777 code lines
- [o3de/o3de](https://octocounts.com/github/o3de/o3de) — C++, 2,717,083 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)
- [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)
