openbsd/src

openbsd/src has 20,710,005 source lines of code out of 28,282,696 total lines across 53,461 files, counted with tokei from the 5ca80efe399fac346f3ac9bb74613a1b6750cb6b ref at commit 5ca80efe399f on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-06 (commit 5ca80efe399f), openbsd/src contains 28,282,696 total lines: 20,710,005 code, 4,731,944 comments, 2,840,747 blank, across 53,461 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-06 (commit 5ca80efe399f), openbsd/src contains 28,282,696 total lines: 20,710,005 code, 4,731,944 comments, 2,840,747 blank, across 53,461 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 5ca80efe399f, 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
C1478710187541746467314704771252391
C Header18342900823068884041533312586514
C++655048107053580799645077584829
Perl2572118612996759296794121743
Bitbake54057379055857558739342
PO File155490867201489185348104030
Autoconf15261963051626071242021278
GNU Style Assembly8251623761135223270316151
Shell11621498291114062283515588
Happy91122668110467012201
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,710,005 lines of code, plus 4,731,944 comment lines and 2,840,747 blank lines, for 28,282,696 total lines at commit 5ca80efe399f on November 6, 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 5ca80efe399f, 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 5ca80efe399fac346f3ac9bb74613a1b6750cb6b at commit 5ca80efe399f on November 6, 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,710,005 code lines across 71 languages, counted by tokei.