pytorch/executorch has 2,256,482 source lines of code out of 2,553,167 total lines across 6,881 files, counted with tokei from the main ref at commit 62e28de55711 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
pytorch/executorch: 2,256,482 code lines at commit 62e28de55711, counted with tokei-15.0.0 on 2026-11-15. Saved result a007b4372e38b17c3a738c5cbfc2913bcd4a92c1e32c4351ae67f0b8ae6c33a5.
OctoCounts produced this report by resolving pytorch/executorch to commit 62e28de55711, 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 88.4% of all lines, comments represent 5.6%, and the repository averages 328 code lines per file. Python is the largest programming language at 20.8% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 100 | 1243193 | 1243193 | 0 | 0 |
| Python | 2829 | 586388 | 469499 | 38506 | 78383 |
| C++ | 1158 | 301261 | 242932 | 27804 | 30525 |
| C Header | 1073 | 151849 | 101768 | 33112 | 16969 |
| C | 71 | 57239 | 55191 | 1302 | 746 |
| CMake | 201 | 27506 | 20056 | 4759 | 2691 |
| Objective-C++ | 79 | 23944 | 19621 | 1448 | 2875 |
| Bazel | 191 | 20888 | 18501 | 936 | 1451 |
| YAML | 235 | 16876 | 14558 | 1059 | 1259 |
| GLSL | 183 | 22822 | 14529 | 4067 | 4226 |
| JavaScript | 70 | 13332 | 11981 | 549 | 802 |
| Shell | 131 | 15683 | 11559 | 2181 | 1943 |
| WebGPU Shader Language | 109 | 7548 | 6535 | 336 | 677 |
| Kotlin | 43 | 7791 | 5540 | 1401 | 850 |
| CSS | 9 | 4187 | 3775 | 106 | 306 |
| FlatBuffers Schema | 17 | 5522 | 3606 | 1093 | 823 |
| CUDA | 4 | 2609 | 2239 | 196 | 174 |
| Swift | 10 | 2789 | 1808 | 745 | 236 |
| HTML | 4 | 1209 | 1126 | 42 | 41 |
| C++ Header | 16 | 2188 | 1057 | 774 | 357 |
| Makefile | 6 | 1507 | 1051 | 195 | 261 |
| TOML | 7 | 1118 | 800 | 81 | 237 |
| Jupyter Notebooks | 8 | 1261 | 641 | 392 | 228 |
| Templ | 2 | 771 | 578 | 95 | 98 |
| LD Script | 3 | 779 | 548 | 134 | 97 |
| Autoconf | 18 | 904 | 547 | 134 | 223 |
| PowerShell | 2 | 758 | 547 | 134 | 77 |
| TSX | 2 | 518 | 475 | 5 | 38 |
| Jinja2 | 3 | 457 | 408 | 14 | 35 |
| BASH | 1 | 414 | 328 | 31 | 55 |
| SVG | 2 | 242 | 240 | 1 | 1 |
| XML | 10 | 294 | 231 | 39 | 24 |
| Objective-C | 5 | 279 | 221 | 28 | 30 |
| INI | 4 | 300 | 172 | 87 | 41 |
| Pan | 1 | 205 | 168 | 10 | 27 |
| Batch | 3 | 212 | 163 | 0 | 49 |
| Arduino C++ | 3 | 236 | 135 | 65 | 36 |
| Java | 2 | 102 | 71 | 13 | 18 |
| Prolog | 2 | 65 | 54 | 0 | 11 |
| TypeScript | 1 | 27 | 21 | 0 | 6 |
| GNU Style Assembly | 1 | 20 | 9 | 9 | 2 |
| Markdown | 216 | 25918 | 0 | 19622 | 6296 |
| Plain Text | 46 | 1956 | 0 | 1849 | 107 |
Top programming language: Python 20.8%. Generated on .
pytorch/executorch: 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.
pytorch/executorch has 2,256,482 lines of code, plus 143,354 comment lines and 153,331 blank lines, for 2,553,167 total lines at commit 62e28de55711 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 62e28de55711, 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 main at commit 62e28de55711 on November 15, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for pytorch/executorch on this page — 2,256,482 code lines across 43 languages, counted by tokei.