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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C Header | 6293 | 3199750 | 1501188 | 1498734 | 199828 |
| C | 4593 | 1539791 | 1147018 | 188124 | 204649 |
| Python | 793 | 111449 | 87083 | 7827 | 16539 |
| Autoconf | 178 | 44982 | 35747 | 1051 | 8184 |
| CMake | 2060 | 49577 | 34134 | 7859 | 7584 |
| C++ | 133 | 39276 | 29329 | 3598 | 6349 |
| LD Script | 241 | 30215 | 23758 | 4918 | 1539 |
| GNU Style Assembly | 80 | 16849 | 10271 | 4435 | 2143 |
| YAML | 348 | 4986 | 4359 | 436 | 191 |
| Lingua Franca | 97 | 3827 | 3134 | 307 | 386 |
| JSON | 40 | 2934 | 2933 | 0 | 1 |
| C++ Header | 28 | 3377 | 1443 | 1381 | 553 |
Top language (C Header 52.0%). Generated at 2026-09-06T12:17:14.168177263+00:00.
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.
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.
This OctoCounts report was generated from 85c826ecb1d07e3d238ed506e9f560507b1a4b0e at commit 85c826ecb1d0 on 2026-09-06T12:17:14.168177263+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: