# Dolibarr/dolibarr SLOC report

> Dolibarr/dolibarr: 1,532,578 code lines at commit 2dda4ac0a2ee, counted with tokei-15.0.0 on 2026-11-16. Saved result 263ee607c10dd140005b1856a166fde38e0e0a8d2e91575f0986bf820033ea68.

Dolibarr/dolibarr has 1,532,578 source lines of code out of 2,256,620 total lines across 6,364 files, counted with tokei from the develop ref at commit 2dda4ac0a2ee on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving Dolibarr/dolibarr to commit 2dda4ac0a2ee, 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

Dolibarr/dolibarr: 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 very large codebase by counted code lines. Code represents 67.9% of all lines, comments represent 21.1%, and the repository averages 241 code lines per file. PHP accounts for 76.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PHP | 4,011 | 1,793,312 | 1,175,089 | 407,914 | 210,309 |
| JavaScript | 973 | 176,300 | 132,489 | 25,028 | 18,783 |
| SQL | 937 | 95,521 | 67,450 | 22,124 | 5,947 |
| JSON | 38 | 64,781 | 64,778 | 0 | 3 |
| CSS | 137 | 34,434 | 27,440 | 1,357 | 5,637 |
| YAML | 6 | 25,417 | 25,415 | 0 | 2 |
| SVG | 34 | 23,463 | 23,427 | 25 | 11 |
| TypeScript | 4 | 6,624 | 5,908 | 280 | 436 |
| Sass | 18 | 5,320 | 4,758 | 56 | 506 |
| LESS | 18 | 5,296 | 4,738 | 55 | 503 |
| HTML | 23 | 718 | 621 | 25 | 72 |
| XML | 4 | 224 | 223 | 0 | 1 |
| Shell | 4 | 216 | 129 | 55 | 32 |
| Makefile | 1 | 154 | 87 | 39 | 28 |
| TOML | 1 | 70 | 26 | 32 | 12 |
| Markdown | 96 | 16,773 | 0 | 12,221 | 4,552 |
| Plain Text | 59 | 7,997 | 0 | 6,639 | 1,358 |

Top language: PHP 76.7%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/Dolibarr/dolibarr/commit/2dda4ac0a2ee0fbea1b0b082252fe90a1d70cee4?reportId=263ee607c10dd140005b1856a166fde38e0e0a8d2e91575f0986bf820033ea68&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/Dolibarr/dolibarr/commit/2dda4ac0a2ee0fbea1b0b082252fe90a1d70cee4?reportId=263ee607c10dd140005b1856a166fde38e0e0a8d2e91575f0986bf820033ea68&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 Dolibarr/dolibarr have?

Dolibarr/dolibarr has 1,532,578 lines of code, plus 475,850 comment lines and 248,192 blank lines, for 2,256,620 total lines at commit 2dda4ac0a2ee on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the Dolibarr/dolibarr line count measured?

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

### What commit was counted for Dolibarr/dolibarr?

This OctoCounts report was generated from develop at commit 2dda4ac0a2ee on November 16, 2026.

## Similar repository reports

- [magento/magento2](https://octocounts.com/github/magento/magento2) — PHP, 2,160,238 code lines
- [symfony/symfony](https://octocounts.com/github/symfony/symfony) — PHP, 948,991 code lines
- [WordPress/WordPress](https://octocounts.com/github/WordPress/WordPress) — PHP, 799,910 code lines
- [SuiteCRM/SuiteCRM](https://octocounts.com/github/SuiteCRM/SuiteCRM) — PHP, 727,614 code lines
- [matomo-org/matomo](https://octocounts.com/github/matomo-org/matomo) — PHP, 623,810 code lines
- [moodle/moodle](https://octocounts.com/github/moodle/moodle) — PHP, 4,124,704 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)
