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.
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.
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.
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++ | 5092 | 2002212 | 1428867 | 183986 | 389359 |
| C | 2288 | 1169136 | 829779 | 204401 | 134956 |
| C Header | 7221 | 1074316 | 730823 | 178987 | 164506 |
| INI | 23 | 32743 | 29348 | 142 | 3253 |
| Bitbake | 24 | 27993 | 27614 | 182 | 197 |
| GNU Style Assembly | 273 | 19343 | 12186 | 4247 | 2910 |
| Module-Definition | 7 | 5126 | 4947 | 0 | 179 |
| HTML | 18 | 3902 | 3829 | 42 | 31 |
| Happy | 4 | 4235 | 3727 | 0 | 508 |
| Shell | 52 | 4411 | 3218 | 608 | 585 |
| LD Script | 32 | 2345 | 1797 | 314 | 234 |
| JavaScript | 1 | 2251 | 1714 | 25 | 512 |
Top language: C++ 46.4%. Generated on .
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.
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.
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.
This OctoCounts report was generated from master at commit b68ffade9ebf on November 16, 2026.
Play the growth animation for haiku/haiku on this page — 3,081,894 code lines across 29 languages, counted by tokei.