foundryvtt/pf2e has 9,032,087 source lines of code out of 9,115,492 total lines across 38,311 files, counted with tokei from the v14-dev ref at commit 397f125aea87 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
foundryvtt/pf2e: 9,032,087 code lines at commit 397f125aea87, counted with tokei-15.0.0 on 2026-11-17. Saved result 42e12a9930b0bd3c493de32a032169c24c947037944ff02da53d2d6c2274a933.
OctoCounts produced this report by resolving foundryvtt/pf2e to commit 397f125aea87, 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 99.1% of all lines, comments represent 0.6%, and the repository averages 236 code lines per file. TypeScript is the largest programming language at 1.5% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 36258 | 8863503 | 8863503 | 0 | 0 |
| TypeScript | 1497 | 189783 | 131059 | 36219 | 22505 |
| Sass | 150 | 19566 | 16391 | 274 | 2901 |
| Handlebars | 235 | 14037 | 13149 | 137 | 751 |
| YAML | 2 | 5450 | 4315 | 1 | 1134 |
| Svelte | 45 | 2584 | 2438 | 29 | 117 |
| SVG | 102 | 1225 | 1219 | 4 | 2 |
| JavaScript | 2 | 17 | 13 | 2 | 2 |
| Markdown | 14 | 19257 | 0 | 15876 | 3381 |
| Plain Text | 6 | 70 | 0 | 50 | 20 |
Top programming language: TypeScript 1.5%. Generated on .
foundryvtt/pf2e: 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.
foundryvtt/pf2e has 9,032,087 lines of code, plus 52,592 comment lines and 30,813 blank lines, for 9,115,492 total lines at commit 397f125aea87 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 397f125aea87, 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 v14-dev at commit 397f125aea87 on November 17, 2026.
Play the growth animation for foundryvtt/pf2e on this page — 9,032,087 code lines across 10 languages, counted by tokei.