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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C Header | 6362 | 3204610 | 1501371 | 1502132 | 201107 |
| C | 4733 | 1602143 | 1194029 | 195254 | 212860 |
| Python | 829 | 117405 | 92042 | 8085 | 17278 |
| Autoconf | 179 | 45680 | 36314 | 1045 | 8321 |
| CMake | 2136 | 52042 | 35857 | 8283 | 7902 |
| C++ | 139 | 43873 | 32910 | 4035 | 6928 |
| LD Script | 241 | 29876 | 23501 | 4870 | 1505 |
| GNU Style Assembly | 83 | 17317 | 10589 | 4558 | 2170 |
| YAML | 364 | 5076 | 4409 | 464 | 203 |
| Lingua Franca | 100 | 3977 | 3266 | 319 | 392 |
| JSON | 40 | 2957 | 2956 | 0 | 1 |
| C++ Header | 28 | 3396 | 1453 | 1387 | 556 |
| Forge Config | 2 | 1346 | 1342 | 2 | 2 |
| TypeScript | 11 | 2105 | 1337 | 614 | 154 |
| Shell | 29 | 1263 | 850 | 190 | 223 |
| Bitbake | 6 | 910 | 769 | 65 | 76 |
| ReStructuredText | 8 | 1046 | 713 | 0 | 333 |
| SVG | 1 | 657 | 655 | 1 | 1 |
| HICAD | 13 | 481 | 412 | 0 | 69 |
| JavaScript | 12 | 529 | 386 | 87 | 56 |
| INI | 9 | 255 | 202 | 26 | 27 |
| Protocol Buffers | 6 | 222 | 185 | 1 | 36 |
| XML | 3 | 181 | 181 | 0 | 0 |
| Batch | 2 | 142 | 110 | 7 | 25 |
| Dockerfile | 1 | 111 | 84 | 14 | 13 |
| Fish | 3 | 84 | 55 | 6 | 23 |
| HTML | 3 | 55 | 55 | 0 | 0 |
| TOML | 1 | 48 | 41 | 3 | 4 |
| HEX | 3 | 37 | 37 | 0 | 0 |
| Makefile | 6 | 88 | 37 | 33 | 18 |
| PowerShell | 2 | 58 | 34 | 8 | 16 |
| Vue | 5 | 28 | 22 | 0 | 6 |
| Perl | 2 | 6 | 4 | 2 | 0 |
| BASH | 1 | 4 | 3 | 1 | 0 |
| Forth | 1 | 3 | 3 | 0 | 0 |
| Markdown | 1017 | 76128 | 0 | 54178 | 21950 |
| Plain Text | 71 | 11566 | 0 | 9712 | 1854 |
| Sass | 1 | 10 | 0 | 9 | 1 |
Top language: C Header 51.0%. Generated on .
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.
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.
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.
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.