espressif/esp-idf has 2,921,144 source lines of code out of 5,189,545 total lines across 16,309 files, counted from the master ref at commit 383dda6c182e by the OctoCounts tokei engine on 2026-10-19. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
espressif/esp-idf: 2,921,144 code lines at commit 383dda6c182e, counted with tokei-14.0.0 on 2026-10-19. Saved result a24545c094ca9854883f9a370fafbc39024a2f0477e2ff27c2c19392d97671e1.
OctoCounts produced this report by resolving espressif/esp-idf to commit 383dda6c182e, 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.3% of all lines, comments represent 34.5%, and the repository averages 179 code lines per file. C Header accounts for 51.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C Header | 6340 | 3198098 | 1498357 | 1499281 | 200460 |
| C | 4671 | 1579337 | 1176552 | 192521 | 210264 |
| Python | 815 | 115068 | 90062 | 7986 | 17020 |
| Autoconf | 179 | 45209 | 35906 | 1048 | 8255 |
| CMake | 2111 | 51243 | 35303 | 8136 | 7804 |
| C++ | 138 | 42222 | 31526 | 3923 | 6773 |
| LD Script | 240 | 29822 | 23476 | 4849 | 1497 |
| GNU Style Assembly | 81 | 17029 | 10377 | 4496 | 2156 |
| YAML | 361 | 5149 | 4467 | 474 | 208 |
| Lingua Franca | 99 | 3954 | 3246 | 317 | 391 |
| JSON | 40 | 2934 | 2933 | 0 | 1 |
| C++ Header | 28 | 3378 | 1443 | 1382 | 553 |
| Forge Config | 2 | 1346 | 1342 | 2 | 2 |
| TypeScript | 11 | 2105 | 1337 | 614 | 154 |
| Shell | 29 | 1242 | 835 | 190 | 217 |
| Bitbake | 6 | 909 | 768 | 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 | 254 | 201 | 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 |
| BASH | 1 | 4 | 3 | 1 | 0 |
| Forth | 1 | 3 | 3 | 0 | 0 |
| Markdown | 1008 | 75168 | 0 | 53443 | 21725 |
| Plain Text | 69 | 11294 | 0 | 9465 | 1829 |
| Sass | 1 | 10 | 0 | 9 | 1 |
Top language (C Header 51.3%). Generated at .
espressif/esp-idf has 5,189,545 total lines, including 2,921,144 code lines, 1,788,388 comment lines, and 480,013 blank lines.
OctoCounts resolved the public GitHub repository to commit 383dda6c182e, 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 383dda6c182e on 2026-10-19T23:45:59.847417704Z.
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,921,144 code lines across 37 languages, counted by tokei.