# matomo-org/matomo SLOC report

> matomo-org/matomo: 623,810 code lines at commit 3a26d8b36d87, counted with tokei-15.0.0 on 2026-11-16. Saved result 7a500e31e2f20414f4f7ec73e5b8317d48a35fd1edf03aed534c9337a15bfdbd.

matomo-org/matomo has 623,810 source lines of code out of 809,399 total lines across 8,478 files, counted with tokei from the 6.x-dev ref at commit 3a26d8b36d87 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving matomo-org/matomo to commit 3a26d8b36d87, 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

matomo-org/matomo: 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 77.1% of all lines, comments represent 14.3%, and the repository averages 74 code lines per file. PHP accounts for 43.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PHP | 2,614 | 422,761 | 273,867 | 97,401 | 51,493 |
| JSON | 4,197 | 254,883 | 254,883 | 0 | 0 |
| TypeScript | 330 | 42,530 | 31,508 | 4,390 | 6,632 |
| JavaScript | 96 | 42,957 | 29,186 | 8,201 | 5,570 |
| LESS | 191 | 22,202 | 17,434 | 1,388 | 3,380 |
| Twig | 307 | 10,900 | 9,521 | 144 | 1,235 |
| SVG | 422 | 3,111 | 3,083 | 26 | 2 |
| Vue | 268 | 4,317 | 2,168 | 1,574 | 575 |
| CSS | 16 | 2,277 | 1,866 | 141 | 270 |
| XML | 3 | 231 | 201 | 12 | 18 |
| Pan | 3 | 65 | 52 | 0 | 13 |
| Shell | 1 | 26 | 21 | 2 | 3 |
| SQL | 1 | 15 | 11 | 0 | 4 |
| HTML | 2 | 9 | 9 | 0 | 0 |
| Markdown | 22 | 2,722 | 0 | 1,986 | 736 |
| Plain Text | 5 | 393 | 0 | 334 | 59 |

Top language: PHP 43.9%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/matomo-org/matomo/commit/3a26d8b36d87b351f89019ffc795d8d532eb8e84?reportId=7a500e31e2f20414f4f7ec73e5b8317d48a35fd1edf03aed534c9337a15bfdbd&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/matomo-org/matomo/commit/3a26d8b36d87b351f89019ffc795d8d532eb8e84?reportId=7a500e31e2f20414f4f7ec73e5b8317d48a35fd1edf03aed534c9337a15bfdbd&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 matomo-org/matomo have?

matomo-org/matomo has 623,810 lines of code, plus 115,599 comment lines and 69,990 blank lines, for 809,399 total lines at commit 3a26d8b36d87 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the matomo-org/matomo line count measured?

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

### What commit was counted for matomo-org/matomo?

This OctoCounts report was generated from 6.x-dev at commit 3a26d8b36d87 on November 16, 2026.

## Similar repository reports

- [aureuserp/aureuserp](https://octocounts.com/github/aureuserp/aureuserp) — PHP, 536,450 code lines
- [SuiteCRM/SuiteCRM](https://octocounts.com/github/SuiteCRM/SuiteCRM) — PHP, 727,614 code lines
- [WordPress/WordPress](https://octocounts.com/github/WordPress/WordPress) — PHP, 799,910 code lines
- [OpenMage/magento-lts](https://octocounts.com/github/OpenMage/magento-lts) — PHP, 478,607 code lines
- [bagisto/bagisto](https://octocounts.com/github/bagisto/bagisto) — PHP, 460,612 code lines
- [coollabsio/coolify](https://octocounts.com/github/coollabsio/coolify) — PHP, 425,532 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)
