cloudflare/workerd

cloudflare/workerd has 505,843 source lines of code out of 700,583 total lines across 2,088 files, counted with tokei from the main ref at commit 805cb9c331e6 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

cloudflare/workerd: 505,843 code lines at commit 805cb9c331e6, counted with tokei-15.0.0 on 2026-11-16. Saved result 4e0ea008e3563bb6b595a572ed233fe112cceea4f04c376cd175ca90eceee36a.

OctoCounts produced this report by resolving cloudflare/workerd to commit 805cb9c331e6, 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 large codebase by counted code lines. Code represents 72.2% of all lines, comments represent 17.5%, and the repository averages 242 code lines per file. C++ accounts for 37.1% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++4372480091877712786832370
TypeScript405190924125529560639332
Rust47310488889616521210060
C Header30690433537592265814016
JSON27164761647600
JavaScript170202121519030891933
Bazel8975196430446643
YAML55597509710490
Python33587845482871043
Shell211196828163205
Just12711576153
TOML62191436115
Batch4144121023
WebAssembly12172944434
BASH1524525
HTML25736156
Lua13300
Markdown908088063821706
Plain Text5445039352

Top language: C++ 37.1%. Generated on .

Counting rules and retention

cloudflare/workerd: 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 cloudflare/workerd have?

cloudflare/workerd has 505,843 lines of code, plus 122,754 comment lines and 71,986 blank lines, for 700,583 total lines at commit 805cb9c331e6 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the cloudflare/workerd line count measured?

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

What commit was counted for cloudflare/workerd?

This OctoCounts report was generated from main at commit 805cb9c331e6 on November 16, 2026.

Similar repository reports

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

Play the growth animation for cloudflare/workerd on this page — 505,843 code lines across 19 languages, counted by tokei.