foundryvtt/pf2e has 8,959,604 source lines of code out of 9,041,337 total lines across 37,940 files, counted from the v14-dev ref at commit 942e00eecd62 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-22 (commit 942e00eecd62), foundryvtt/pf2e contains 9,041,337 total lines: 8,959,604 code, 52,235 comments, 29,498 blank, across 37,940 files in 9 languages (top: JSON 98.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving foundryvtt/pf2e to commit 942e00eecd62, 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 99.1% of all lines, comments represent 0.6%, and the repository averages 236 code lines per file. JSON accounts for 98.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 35903 | 8796405 | 8796405 | 0 | 0 |
| TypeScript | 1488 | 188410 | 129988 | 36049 | 22373 |
| Sass | 150 | 19553 | 16381 | 274 | 2898 |
| Handlebars | 235 | 14040 | 13150 | 138 | 752 |
| Svelte | 40 | 2518 | 2380 | 30 | 108 |
| SVG | 102 | 1225 | 1219 | 4 | 2 |
| JavaScript | 2 | 84 | 81 | 1 | 2 |
| Markdown | 14 | 19033 | 0 | 15690 | 3343 |
| Plain Text | 6 | 69 | 0 | 49 | 20 |
Top language (JSON 98.2%). Generated at .
foundryvtt/pf2e has 9,041,337 total lines, including 8,959,604 code lines, 52,235 comment lines, and 29,498 blank lines.
OctoCounts resolved the public GitHub repository to commit 942e00eecd62, 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 942e00eecd62 on 2026-10-22T06:46:47.819231494+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for foundryvtt/pf2e on this page — 8,959,604 code lines across 9 languages, counted by tokei.