zephyrproject-rtos/zephyr

zephyrproject-rtos/zephyr has 3,807,176 source lines of code out of 5,417,112 total lines across 34,651 files, counted with tokei from the main ref at commit 7cd4b562b30a on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

zephyrproject-rtos/zephyr: 3,807,176 code lines at commit 7cd4b562b30a, counted with tokei-15.0.0 on 2026-11-13. Saved result 705e722d447fb4e4af9e2667a512e6c3412f9b345fc4c0217392bdce66baf623.

OctoCounts produced this report by resolving zephyrproject-rtos/zephyr to commit 7cd4b562b30a, 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 70.3% of all lines, comments represent 14.5%, and the repository averages 110 code lines per file. C accounts for 57.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C739929981722205076292565500531
Device Tree618773357957450648251110822
C Header53501004238525106367456111676
YAML85852471712013121350832351
Python394128948969231154620479
CMake4234100457642911842017746
ReStructuredText10876077444954015820
LD Script420427082942968816398
GNU Style Assembly192277921484289973953
C++ Header13135851320928888
Perl476606013779868
Forge Config5098994532317111960
JSON194639463900
C++2246943686543465
JavaScript828282326307195
Protocol Buffers224891939102448
TOML1020841745167172
Shell2723521667283402
CSS620191657101261
BASH417661362187217
SVG613561333221
MSBuild1689789700
HTML13102386360100
Lauterbach PRACTICE Script14993610237146
Zsh168856517106
Fish16805206199
Bitbake1466349749117
HICAD10430362068
HEX133133100
TCL43662339241
Apache Velocity1221205016
Ark TypeScript1201168033
Makefile22071294038
Autoconf81671005314
F#29075015
COBOL17863015
GDB Script486353912
PowerShell15733168
FreeMarker1352906
VB6/VBA1352708
Haskell13625011
Batch2332427
INI1191603
Vim Script1161303
TypeScript114905
XML19900
Jupyter Notebooks20000
Markdown912200926294
Plain Text591021209531681

Top language: C 57.9%. Generated on .

Counting rules and retention

zephyrproject-rtos/zephyr: 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 zephyrproject-rtos/zephyr have?

zephyrproject-rtos/zephyr has 3,807,176 lines of code, plus 783,217 comment lines and 826,719 blank lines, for 5,417,112 total lines at commit 7cd4b562b30a on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the zephyrproject-rtos/zephyr line count measured?

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

What commit was counted for zephyrproject-rtos/zephyr?

This OctoCounts report was generated from main at commit 7cd4b562b30a on November 13, 2026.

Similar repository reports

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

Play the growth animation for zephyrproject-rtos/zephyr on this page — 3,807,176 code lines across 49 languages, counted by tokei.