magento/magento2

magento/magento2 has 2,160,238 source lines of code out of 3,433,033 total lines across 32,425 files, counted with tokei from the 2.4-develop ref at commit 90f60c1e8ae5 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

magento/magento2: 2,160,238 code lines at commit 90f60c1e8ae5, counted with tokei-15.0.0 on 2026-11-16. Saved result 64afc2beb9d136cd9409b88de0d964403c48d7921a1b82c4c300553606c458c1.

OctoCounts produced this report by resolving magento/magento2 to commit 90f60c1e8ae5, 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.

Repository size insights

This is a very large codebase by counted code lines. Code represents 62.9% of all lines, comments represent 27.1%, and the repository averages 67 code lines per file. PHP accounts for 67.1% of counted code.

LanguageFilesLinesCodeCommentsBlanks
PHP1972324788381448510770143260185
XML90874267373348817328818568
JavaScript12943350432569714596532107
LESS4327849959093708012326
CSS902854527580408557
JSON326214952149500
HTML3721256783483704515
TypeScript13252325200
SVG2010810800
Markdown429147030121612542
Plain Text6513324601835014896

Top language: PHP 67.1%. Generated on .

Counting rules and retention

magento/magento2: 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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does magento/magento2 have?

magento/magento2 has 2,160,238 lines of code, plus 931,099 comment lines and 341,696 blank lines, for 3,433,033 total lines at commit 90f60c1e8ae5 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the magento/magento2 line count measured?

OctoCounts resolved the public GitHub repository to commit 90f60c1e8ae5, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for magento/magento2?

This OctoCounts report was generated from 2.4-develop at commit 90f60c1e8ae5 on November 16, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for magento/magento2 on this page — 2,160,238 code lines across 11 languages, counted by tokei.