zephyrproject-rtos/zephyr SLOC report

As of 2026-08-29 (commit f80761e49401), zephyrproject-rtos/zephyr contains 6,352,648 total lines: 4,486,339 code, 840,215 comments, 1,026,094 blank, across 42,162 files in 51 languages (top: C 56.5%). Counted with tokei via OctoCounts.

As of 2026-08-29 (commit f80761e49401), zephyrproject-rtos/zephyr contains 6,352,648 total lines: 4,486,339 code, 840,215 comments, 1,026,094 blank, across 42,162 files in 51 languages (top: C 56.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving zephyrproject-rtos/zephyr to commit f80761e49401, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

Repository size insights

This is a very large codebase by counted code lines. Code represents 70.6% of all lines, comments represent 13.2%, and the repository averages 106 code lines per file. C accounts for 56.5% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C944834877102533952357938595820
C Header5510978817520805347669110343
Device Tree57006587185186184214097960
ReStructuredText32264462253317230114502
YAML96022649052196631399531247
Python5741884791451201393429425
CMake5415116759750641974621949
SVG863291132106481324
LD Script423417192876166666292
GNU Style Assembly187261621388084783804
C++ Header171369913267319113
Shell103818204818757424275

Top language (C 56.5%). Generated at 2026-08-29T03:16:05.415194341+00:00.

Report FAQ

How many lines of code does zephyrproject-rtos/zephyr have?

zephyrproject-rtos/zephyr has 6,352,648 total lines, including 4,486,339 code lines, 840,215 comment lines, and 1,026,094 blank lines.

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

OctoCounts resolved the public GitHub repository to commit f80761e49401, 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 f80761e49401 on 2026-08-29T03:16:05.415194341+00:00.

Similar repository reports

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