# pytorch/executorch SLOC report

> pytorch/executorch: 2,256,482 code lines at commit 62e28de55711, counted with tokei-15.0.0 on 2026-11-15. Saved result a007b4372e38b17c3a738c5cbfc2913bcd4a92c1e32c4351ae67f0b8ae6c33a5.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 1,243,193 | 1,243,193 | 0 | 0 |
| Python | 2,829 | 586,388 | 469,499 | 38,506 | 78,383 |
| C++ | 1,158 | 301,261 | 242,932 | 27,804 | 30,525 |
| C Header | 1,073 | 151,849 | 101,768 | 33,112 | 16,969 |
| C | 71 | 57,239 | 55,191 | 1,302 | 746 |
| CMake | 201 | 27,506 | 20,056 | 4,759 | 2,691 |
| Objective-C++ | 79 | 23,944 | 19,621 | 1,448 | 2,875 |
| Bazel | 191 | 20,888 | 18,501 | 936 | 1,451 |
| YAML | 235 | 16,876 | 14,558 | 1,059 | 1,259 |
| GLSL | 183 | 22,822 | 14,529 | 4,067 | 4,226 |
| JavaScript | 70 | 13,332 | 11,981 | 549 | 802 |
| Shell | 131 | 15,683 | 11,559 | 2,181 | 1,943 |
| WebGPU Shader Language | 109 | 7,548 | 6,535 | 336 | 677 |
| Kotlin | 43 | 7,791 | 5,540 | 1,401 | 850 |
| CSS | 9 | 4,187 | 3,775 | 106 | 306 |
| FlatBuffers Schema | 17 | 5,522 | 3,606 | 1,093 | 823 |
| CUDA | 4 | 2,609 | 2,239 | 196 | 174 |
| Swift | 10 | 2,789 | 1,808 | 745 | 236 |
| HTML | 4 | 1,209 | 1,126 | 42 | 41 |
| C++ Header | 16 | 2,188 | 1,057 | 774 | 357 |
| Makefile | 6 | 1,507 | 1,051 | 195 | 261 |
| TOML | 7 | 1,118 | 800 | 81 | 237 |
| Jupyter Notebooks | 8 | 1,261 | 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 | 25,918 | 0 | 19,622 | 6,296 |
| Plain Text | 46 | 1,956 | 0 | 1,849 | 107 |

Top programming language: Python 20.8%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/pytorch/executorch/commit/62e28de55711836d17ead3e784e0e343d91f6533?reportId=a007b4372e38b17c3a738c5cbfc2913bcd4a92c1e32c4351ae67f0b8ae6c33a5&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/pytorch/executorch/commit/62e28de55711836d17ead3e784e0e343d91f6533?reportId=a007b4372e38b17c3a738c5cbfc2913bcd4a92c1e32c4351ae67f0b8ae6c33a5&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does pytorch/executorch have?

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.

### How was the pytorch/executorch line count measured?

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.

### What commit was counted for pytorch/executorch?

This OctoCounts report was generated from main at commit 62e28de55711 on November 15, 2026.

## Similar repository reports

- [apify/crawlee](https://octocounts.com/github/apify/crawlee) — JSON, 2,282,748 code lines
- [BAITC-Hacks/hack-96839d9e-hustlers](https://octocounts.com/github/BAITC-Hacks/hack-96839d9e-hustlers) — JSON, 2,167,611 code lines
- [cheaper-inference/OmniRoute](https://octocounts.com/github/cheaper-inference/OmniRoute) — JSON, 2,401,156 code lines
- [simplexai-labs/linger](https://octocounts.com/github/simplexai-labs/linger) — JSON, 2,411,206 code lines
- [daha1216/dsh-adult-tension](https://octocounts.com/github/daha1216/dsh-adult-tension) — JSON, 2,442,840 code lines
- [dabiziluzhu55/citypulse-v2x-sim](https://octocounts.com/github/dabiziluzhu55/citypulse-v2x-sim) — JSON, 2,060,853 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
