# OpenMage/magento-lts SLOC report

> OpenMage/magento-lts: 478,607 code lines at commit 9aa967efa232, counted with tokei-15.0.0 on 2026-11-16. Saved result 6a1d75e1b5b8a55e97ff4c377fa8ab4965256b8473f7b7ec2ca6ca0a56bfa85a.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 4,111 | 606,911 | 335,301 | 199,763 | 71,847 |
| XML | 347 | 64,742 | 59,510 | 3,968 | 1,264 |
| JavaScript | 186 | 62,943 | 50,052 | 7,270 | 5,621 |
| CSS | 49 | 23,444 | 19,561 | 1,503 | 2,380 |
| Sass | 71 | 16,424 | 12,029 | 1,777 | 2,618 |
| HTML | 44 | 1,891 | 1,302 | 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 | 2,448 | 0 | 2,090 | 358 |

Top language: PHP 70.1%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/OpenMage/magento-lts/commit/9aa967efa2325e8573cde7a34eb3d92cec13fa54?reportId=6a1d75e1b5b8a55e97ff4c377fa8ab4965256b8473f7b7ec2ca6ca0a56bfa85a&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/OpenMage/magento-lts/commit/9aa967efa2325e8573cde7a34eb3d92cec13fa54?reportId=6a1d75e1b5b8a55e97ff4c377fa8ab4965256b8473f7b7ec2ca6ca0a56bfa85a&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 OpenMage/magento-lts have?

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.

### How was the OpenMage/magento-lts line count measured?

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.

### What commit was counted for OpenMage/magento-lts?

This OctoCounts report was generated from main at commit 9aa967efa232 on November 16, 2026.

## Similar repository reports

- [bagisto/bagisto](https://octocounts.com/github/bagisto/bagisto) — PHP, 460,612 code lines
- [aureuserp/aureuserp](https://octocounts.com/github/aureuserp/aureuserp) — PHP, 536,450 code lines
- [coollabsio/coolify](https://octocounts.com/github/coollabsio/coolify) — PHP, 425,532 code lines
- [drupal/drupal](https://octocounts.com/github/drupal/drupal) — PHP, 415,949 code lines
- [joomla/joomla-cms](https://octocounts.com/github/joomla/joomla-cms) — PHP, 378,385 code lines
- [akaunting/akaunting](https://octocounts.com/github/akaunting/akaunting) — PHP, 369,203 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)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [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)
