freebsd/freebsd-src

freebsd/freebsd-src has 22,335,858 source lines of code out of 30,875,031 total lines across 74,934 files, counted with tokei from the 775e421dc38f18fa6b7fdc7b214a013cca44b58b ref at commit 775e421dc38f on November 1, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

freebsd/freebsd-src: 22,335,858 code lines at commit 775e421dc38f, counted with tokei-15.0.0 on 2026-11-01. Saved result cc2772aca1428b21655220a2f9910d9da42fc895ffe6143b51f61ce307e3517b.

OctoCounts produced this report by resolving freebsd/freebsd-src to commit 775e421dc38f, 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 72.3% of all lines, comments represent 16.4%, and the repository averages 298 code lines per file. C accounts for 44.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C2010513490175997898719729161538272
C Header21408641863943043961454175660068
C++617146919933484303633060574630
Device Tree65462160586177508095505290001
GNU Style Assembly9227006275992602988971478
YAML57866354515143412414596965
JSON58727144127143803
Perl3902872982288332733731128
Autoconf7742781622277312376226669
Shell12592865632001945443731932
Makefile40511706301187152739324522
Bitbake66911995911051742805162
M45101481771047343169611747
Happy62583295214506184
Module-Definition2175226547147775041
HTML23449640469145212205
Python137405803173639024942
INI3332900294711553274
C++ Header2693707919988120205071
Objective-C148199851495329322100
PO File4274971299687495752
ASP.NET71295212907045
AWK105167331178231091842
JavaScript67138891177910901020
Automake20214836117099152212
Assembly121168610688489509
CMake74170591018049301949
HEX99012901200
Lua5111801841120951295
Lex4111940772027711449
TCL161067363023807564
Alex47668459010783
SWIG133647058925573
XML355091486113595
Forth397749474918721128
CSS1449483942219787
Templ547103818779113
D3148583616924318
Visual Studio Project123610360802
C#33568636031596487
ASN.13039492902331716
Monkey C37172015380182
BASH517471293252202
SQL1126751272966437
Ruby1416971270201226
TeX120771243425409
RPM Specfile51462113857267
Meson14114097465101
Julia21546930473143
MSBuild37109789436167
Batch139258291185
Emacs Lisp51142785244113
Prolog878778403
ReStructuredText810407470293
Pan77746965028
Korn shell18016827346
Vim Script25254793214
Bazel1264143914953
Visual Studio Solution10408398010
PowerShell44773765150
OCaml134033901
SVG832632222
Apache Velocity1317296021
Snakemake4504248143113
AsciiDoc2245171074
GDB Script1162142515
Protocol Buffers238913019168
Forge Config114096230344
HICAD1262600
C Shell33522103
GLSL1161402
Stata1141400
F#1161303
Dockerfile1161141
VBScript1121101
FORTRAN Legacy24400
Q22200
Nextflow11100
Phix11100
Puppet11100
Djot112709829
Markdown1818111805745623662
Plain Text3265605957056074645211

Top language: C 44.7%. Generated on .

Counting rules and retention

freebsd/freebsd-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 freebsd/freebsd-src have?

freebsd/freebsd-src has 22,335,858 lines of code, plus 5,054,061 comment lines and 3,485,112 blank lines, for 30,875,031 total lines at commit 775e421dc38f on November 1, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the freebsd/freebsd-src line count measured?

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

What commit was counted for freebsd/freebsd-src?

This OctoCounts report was generated from 775e421dc38f18fa6b7fdc7b214a013cca44b58b at commit 775e421dc38f on November 1, 2026.

Similar repository reports

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

Play the growth animation for freebsd/freebsd-src on this page — 22,335,858 code lines across 83 languages, counted by tokei.