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.

openbsd/src: 20,711,629 code lines at commit 9fac596822d6, counted with tokei-15.0.0 on 2026-11-11. Saved result 9d69e60843d45cfde4ad4481770bb577d7d13dc524be2a9b9e1a262097b80ec2.

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
CMake1015598994831650266557
Module-Definition214518274546206365
M42075794740622134673858
HTML363720436091390723
Assembly8638357357246302003
C++ Header2855423233449120728711
ASP.NET2284872734801139
Scala158195321632813591845
Automake37185701629510681207
Alex19172481416503083
JSON42112691126702
Lex34143381083819721528
AWK42812179100261417736
Objective-C++7870268188121072
SWIG135665960665588
TeX1693139612381589
Go544833703178602
FORTRAN Modern7345393535740264
OCaml22590931441807958
XML43328231257150
YAML55284127515040
Pan434452525504416
TypeScript1820411623243175
JavaScript720111417421173
Emacs Lisp919631293459211
BASH616151217248150
Korn shell8620581217447394
CSS14124210806498
Batch34100480510594
Scheme382962612776
Forth1880596162122
Objective-C137075164187
Monkey C16025000102
Vim Script125424733435
ReStructuredText35944190175
FORTRAN Legacy15743401237105
Jupyter Notebooks363032421987
R483362981226
LD Script23532904419
Dockerfile748426216755
RPM Specfile3331252673
Protocol Buffers4767246390131
D4720419077
XSL1242187946
Forge Config72211582142
HICAD215815800
Nix1152106442
Device Tree2139902920
TOML5807019
Java37647245
GDB Script1353122
Ada481234513
ASP2181800
INI12616010
Lua13210
Prolog22200
Q22200
Markdown237246044021879627248
Plain Text429457319044398113338

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.