openbsd/src

openbsd/src has 20,711,629 source lines of code out of 28,284,785 total lines across 53,462 files, counted with tokei from the 9fac596822d66939ffcbabd48ae500666f5dbe03 ref at commit 9fac596822d6 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-11 (commit 9fac596822d6), openbsd/src contains 28,284,785 total lines: 20,711,629 code, 4,732,257 comments, 2,840,899 blank, across 53,462 files in 71 languages (top language: C 36.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-11 (commit 9fac596822d6), openbsd/src contains 28,284,785 total lines: 20,711,629 code, 4,732,257 comments, 2,840,899 blank, across 53,462 files in 71 languages (top language: C 36.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving openbsd/src to commit 9fac596822d6, 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.

Repository size insights

This is a very large codebase by counted code lines. Code represents 73.2% of all lines, comments represent 16.7%, and the repository averages 387 code lines per file. C accounts for 36.0% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C1478810189224746591814708021252504
C Header18342900830168884631533314586524
C++655048106973580792645076584829
Perl2572118612996759296794121743
Bitbake54057379055857558739342
PO File155490867201489185348104030
Autoconf15261963051626071242021278
GNU Style Assembly8251623491135123268816149
Shell11621499361114992284215595
Happy91122942110717012225
Python54411682692908878515133
Makefile24238500561043808115881

Top language: C 36.0%. Generated on .

Counting rules and retention

openbsd/src: 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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does openbsd/src have?

openbsd/src has 20,711,629 lines of code, plus 4,732,257 comment lines and 2,840,899 blank lines, for 28,284,785 total lines at commit 9fac596822d6 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the openbsd/src line count measured?

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

What commit was counted for openbsd/src?

This OctoCounts report was generated from 9fac596822d66939ffcbabd48ae500666f5dbe03 at commit 9fac596822d6 on November 11, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for openbsd/src on this page — 20,711,629 code lines across 71 languages, counted by tokei.