OpenMage/magento-lts has 478,607 source lines of code out of 779,694 total lines across 4,837 files, counted with tokei from the main ref at commit 9aa967efa232 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit 9aa967efa232), OpenMage/magento-lts contains 779,694 total lines: 478,607 code, 216,866 comments, 84,221 blank, across 4,837 files in 12 languages (top language: PHP 70.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving OpenMage/magento-lts to commit 9aa967efa232, 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 large codebase by counted code lines. Code represents 61.4% of all lines, comments represent 27.8%, and the repository averages 99 code lines per file. PHP accounts for 70.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| PHP | 4111 | 606911 | 335301 | 199763 | 71847 |
| XML | 347 | 64742 | 59510 | 3968 | 1264 |
| JavaScript | 186 | 62943 | 50052 | 7270 | 5621 |
| CSS | 49 | 23444 | 19561 | 1503 | 2380 |
| Sass | 71 | 16424 | 12029 | 1777 | 2618 |
| HTML | 44 | 1891 | 1302 | 467 | 122 |
| JSON | 5 | 365 | 365 | 0 | 0 |
| YAML | 1 | 246 | 236 | 5 | 5 |
| SVG | 7 | 228 | 223 | 5 | 0 |
| Shell | 1 | 42 | 20 | 17 | 5 |
| Ruby | 1 | 10 | 8 | 1 | 1 |
| Plain Text | 14 | 2448 | 0 | 2090 | 358 |
Top language: PHP 70.1%. Generated on .
OpenMage/magento-lts: 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.
OpenMage/magento-lts has 478,607 lines of code, plus 216,866 comment lines and 84,221 blank lines, for 779,694 total lines at commit 9aa967efa232 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 9aa967efa232, 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 9aa967efa232 on November 16, 2026.
Play the growth animation for OpenMage/magento-lts on this page — 478,607 code lines across 12 languages, counted by tokei.