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.

espressif/esp-idf: 2,946,214 code lines at commit ad20ded62a2d, counted with tokei-15.0.0 on 2026-11-16. Saved result fb6b6a66754df6772625f27ce34f4946d2e703c1deccdf627458ab289b607750.

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
Forge Config21346134222
TypeScript1121051337614154
Shell291263850190223
Bitbake69107696576
ReStructuredText810467130333
SVG165765511
HICAD13481412069
JavaScript125293868756
INI92552022627
Protocol Buffers6222185136
XML318118100
Batch2142110725
Dockerfile1111841413
Fish38455623
HTML3555500
TOML1484134
HEX3373700
Makefile688373318
PowerShell25834816
Vue5282206
Perl26420
BASH14310
Forth13300
Markdown10177612805417821950
Plain Text7111566097121854
Sass110091

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.

Play the growth animation for espressif/esp-idf on this page — 2,946,214 code lines across 38 languages, counted by tokei.