espressif/esp-idf SLOC report

As of 2026-09-06 (commit 85c826ecb1d0), espressif/esp-idf contains 5,141,258 total lines: 2,887,893 code, 1,781,299 comments, 472,066 blank, across 16,066 files in 37 languages (top: C Header 52.0%). Counted with tokei via OctoCounts.

As of 2026-09-06 (commit 85c826ecb1d0), espressif/esp-idf contains 5,141,258 total lines: 2,887,893 code, 1,781,299 comments, 472,066 blank, across 16,066 files in 37 languages (top: C Header 52.0%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving espressif/esp-idf to commit 85c826ecb1d0, 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 56.2% of all lines, comments represent 34.6%, and the repository averages 180 code lines per file. C Header accounts for 52.0% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C Header6293319975015011881498734199828
C459315397911147018188124204649
Python79311144987083782716539
Autoconf178449823574710518184
CMake2060495773413478597584
C++133392762932935986349
LD Script241302152375849181539
GNU Style Assembly80168491027144352143
YAML34849864359436191
Lingua Franca9738273134307386
JSON402934293301
C++ Header28337714431381553

Top language (C Header 52.0%). Generated at 2026-09-06T12:17:14.168177263+00:00.

Report FAQ

How many lines of code does espressif/esp-idf have?

espressif/esp-idf has 5,141,258 total lines, including 2,887,893 code lines, 1,781,299 comment lines, and 472,066 blank lines.

How was the espressif/esp-idf line count measured?

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

What commit was counted for espressif/esp-idf?

This OctoCounts report was generated from 85c826ecb1d07e3d238ed506e9f560507b1a4b0e at commit 85c826ecb1d0 on 2026-09-06T12:17:14.168177263+00:00.

Similar repository reports

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