# matomo-org/matomo SLOC report

> matomo-org/matomo: 610,713 code lines at commit b77fa8d15482, counted with tokei-14.0.0 on 2026-10-21. Saved result 9f34150d3b40c09e40deca55e1b0fc12051d474d9f31b42d6f0962221b602fb4.

matomo-org/matomo has 610,713 source lines of code out of 793,848 total lines across 8,445 files, counted from the 6.x-dev ref at commit b77fa8d15482 by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

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

## Repository size insights

This is a large codebase by counted code lines. Code represents 76.9% of all lines, comments represent 14.4%, and the repository averages 72 code lines per file. PHP accounts for 44.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PHP | 2,597 | 417,746 | 270,821 | 96,150 | 50,775 |
| JSON | 4,197 | 246,938 | 246,938 | 0 | 0 |
| TypeScript | 323 | 41,262 | 30,558 | 4,295 | 6,409 |
| JavaScript | 94 | 42,551 | 28,893 | 8,157 | 5,501 |
| LESS | 190 | 21,965 | 17,256 | 1,361 | 3,348 |
| Twig | 302 | 10,195 | 8,883 | 131 | 1,181 |
| SVG | 422 | 3,111 | 3,083 | 26 | 2 |
| Vue | 267 | 4,259 | 2,121 | 1,568 | 570 |
| 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,805 | 0 | 2,083 | 722 |
| Plain Text | 5 | 393 | 0 | 334 | 59 |

Top language (PHP 44.3%). Generated at 2026-10-21T04:15:24.550799228Z. Canonical report: https://octocounts.com/github/matomo-org/matomo/commit/b77fa8d15482e9c3bbb113eb24d9fd42d08e5f97?reportId=9f34150d3b40c09e40deca55e1b0fc12051d474d9f31b42d6f0962221b602fb4&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/b77fa8d15482e9c3bbb113eb24d9fd42d08e5f97?reportId=9f34150d3b40c09e40deca55e1b0fc12051d474d9f31b42d6f0962221b602fb4&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 793,848 total lines, including 610,713 code lines, 114,260 comment lines, and 68,875 blank lines.

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

OctoCounts resolved the public GitHub repository to commit b77fa8d15482, 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 b77fa8d15482 on 2026-10-21T04:15:24.550799228Z.

## Similar repository reports

- [SuiteCRM/SuiteCRM](https://octocounts.com/github/SuiteCRM/SuiteCRM) — PHP, 727,564 code lines
- [aureuserp/aureuserp](https://octocounts.com/github/aureuserp/aureuserp) — PHP, 488,989 code lines
- [OpenMage/magento-lts](https://octocounts.com/github/OpenMage/magento-lts) — PHP, 477,585 code lines
- [WordPress/WordPress](https://octocounts.com/github/WordPress/WordPress) — PHP, 791,232 code lines
- [bagisto/bagisto](https://octocounts.com/github/bagisto/bagisto) — PHP, 454,023 code lines
- [drupal/drupal](https://octocounts.com/github/drupal/drupal) — PHP, 415,607 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)
- [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)
