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.
As of 2026-11-15 (commit 62e28de55711), pytorch/executorch contains 2,553,167 total lines: 2,256,482 code, 143,354 comments, 153,331 blank, across 6,881 files in 43 languages (top programming language: Python 20.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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 |
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.