# alenichev/openbsd-kernel SLOC report

> alenichev/openbsd-kernel: 2,183,806 code lines at commit 6c4075bb9b46, counted with tokei-15.0.0 on 2026-11-05. Saved result 8c1c78aa7054b6c276727f25a500b63889028330a5ef1289fde009f8c93b218d.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 3,259 | 1,978,997 | 1,383,382 | 341,236 | 254,379 |
| C Header | 3,613 | 883,286 | 664,765 | 155,982 | 62,539 |
| GNU Style Assembly | 355 | 168,802 | 120,664 | 29,350 | 18,788 |
| Makefile | 225 | 6,877 | 4,545 | 698 | 1,634 |
| AWK | 19 | 3,120 | 2,126 | 722 | 272 |
| Happy | 2 | 2,114 | 1,877 | 0 | 237 |
| ASP.NET | 3 | 1,415 | 1,397 | 0 | 18 |
| Shell | 11 | 1,559 | 1,153 | 336 | 70 |
| M4 | 4 | 992 | 854 | 76 | 62 |
| Bitbake | 46 | 1,243 | 767 | 197 | 279 |
| Scheme | 3 | 834 | 626 | 132 | 76 |
| Lex | 2 | 764 | 559 | 150 | 55 |
| Forth | 1 | 621 | 429 | 114 | 78 |
| Autoconf | 2 | 291 | 263 | 0 | 28 |
| Batch | 12 | 168 | 168 | 0 | 0 |
| Device Tree | 1 | 193 | 157 | 15 | 21 |
| Alex | 1 | 67 | 66 | 0 | 1 |
| Ada | 1 | 11 | 8 | 0 | 3 |

Top language: C 63.3%. Generated on November 5, 2026. Canonical report: https://octocounts.com/github/alenichev/openbsd-kernel/commit/6c4075bb9b462de3f3b416ed45efb568e9009dd5?reportId=8c1c78aa7054b6c276727f25a500b63889028330a5ef1289fde009f8c93b218d&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/alenichev/openbsd-kernel/commit/6c4075bb9b462de3f3b416ed45efb568e9009dd5?reportId=8c1c78aa7054b6c276727f25a500b63889028330a5ef1289fde009f8c93b218d&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 alenichev/openbsd-kernel have?

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.

### How was the alenichev/openbsd-kernel line count measured?

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.

### What commit was counted for alenichev/openbsd-kernel?

This OctoCounts report was generated from 6c4075bb9b462de3f3b416ed45efb568e9009dd5 at commit 6c4075bb9b46 on November 5, 2026.

## Similar repository reports

- [tsirysndr/rockboxd](https://octocounts.com/github/tsirysndr/rockboxd) — C, 2,103,426 code lines
- [0x4E69676874466F78/miranda-ng](https://octocounts.com/github/0x4E69676874466F78/miranda-ng) — C, 2,064,087 code lines
- [php/php-src](https://octocounts.com/github/php/php-src) — C, 1,803,435 code lines
- [chrissotraidis/peonpad](https://octocounts.com/github/chrissotraidis/peonpad) — C, 2,658,349 code lines
- [gnutools/glibc](https://octocounts.com/github/gnutools/glibc) — C, 1,701,613 code lines
- [libretro/RetroArch](https://octocounts.com/github/libretro/RetroArch) — C, 2,830,475 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
