alenichev/openbsd-kernel has 2,183,806 source lines of code out of 3,051,354 total lines across 7,560 files, counted with tokei from the 6c4075bb9b462de3f3b416ed45efb568e9009dd5 ref at commit 6c4075bb9b46 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-05 (commit 6c4075bb9b46), alenichev/openbsd-kernel contains 3,051,354 total lines: 2,183,806 code, 529,008 comments, 338,540 blank, across 7,560 files in 18 languages (top language: C 63.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving alenichev/openbsd-kernel to commit 6c4075bb9b46, 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 71.6% of all lines, comments represent 17.3%, and the repository averages 289 code lines per file. C accounts for 63.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 3259 | 1978997 | 1383382 | 341236 | 254379 |
| C Header | 3613 | 883286 | 664765 | 155982 | 62539 |
| GNU Style Assembly | 355 | 168802 | 120664 | 29350 | 18788 |
| Makefile | 225 | 6877 | 4545 | 698 | 1634 |
| AWK | 19 | 3120 | 2126 | 722 | 272 |
| Happy | 2 | 2114 | 1877 | 0 | 237 |
| ASP.NET | 3 | 1415 | 1397 | 0 | 18 |
| Shell | 11 | 1559 | 1153 | 336 | 70 |
| M4 | 4 | 992 | 854 | 76 | 62 |
| Bitbake | 46 | 1243 | 767 | 197 | 279 |
| Scheme | 3 | 834 | 626 | 132 | 76 |
| Lex | 2 | 764 | 559 | 150 | 55 |
Top language: C 63.3%. Generated on .
alenichev/openbsd-kernel: 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.
alenichev/openbsd-kernel has 2,183,806 lines of code, plus 529,008 comment lines and 338,540 blank lines, for 3,051,354 total lines at commit 6c4075bb9b46 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 6c4075bb9b46, 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 6c4075bb9b462de3f3b416ed45efb568e9009dd5 at commit 6c4075bb9b46 on November 5, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for alenichev/openbsd-kernel on this page — 2,183,806 code lines across 18 languages, counted by tokei.