espressif/esp-idf

espressif/esp-idf has 2,946,214 source lines of code out of 5,225,715 total lines across 16,453 files, counted with tokei from the master ref at commit ad20ded62a2d on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit ad20ded62a2d), espressif/esp-idf contains 5,225,715 total lines: 2,946,214 code, 1,795,391 comments, 484,110 blank, across 16,453 files in 38 languages (top language: C Header 51.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit ad20ded62a2d), espressif/esp-idf contains 5,225,715 total lines: 2,946,214 code, 1,795,391 comments, 484,110 blank, across 16,453 files in 38 languages (top language: C Header 51.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving espressif/esp-idf to commit ad20ded62a2d, 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 56.4% of all lines, comments represent 34.4%, and the repository averages 179 code lines per file. C Header accounts for 51.0% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C Header6362320461015013711502132201107
C473316021431194029195254212860
Python82911740592042808517278
Autoconf179456803631410458321
CMake2136520423585782837902
C++139438733291040356928
LD Script241298762350148701505
GNU Style Assembly83173171058945582170
YAML36450764409464203
Lingua Franca10039773266319392
JSON402957295601
C++ Header28339614531387556

Top language: C Header 51.0%. Generated on .

Counting rules and retention

espressif/esp-idf: 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 espressif/esp-idf have?

espressif/esp-idf has 2,946,214 lines of code, plus 1,795,391 comment lines and 484,110 blank lines, for 5,225,715 total lines at commit ad20ded62a2d on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit ad20ded62a2d, 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 master at commit ad20ded62a2d 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 espressif/esp-idf on this page — 2,946,214 code lines across 38 languages, counted by tokei.