# Dolibarr/dolibarr SLOC report

> As of 2026-09-18 (commit e43c8d3049e6), Dolibarr/dolibarr contains 2,201,440 total lines: 1,490,070 code, 466,878 comments, 244,492 blank, across 6,342 files in 16 languages (top: PHP 76.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

Dolibarr/dolibarr has 1,490,070 source lines of code out of 2,201,440 total lines across 6,342 files, counted from the develop ref at commit e43c8d3049e6 by the OctoCounts tokei engine on 2026-09-18. 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 Dolibarr/dolibarr to commit e43c8d3049e6, 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 very large codebase by counted code lines. Code represents 67.7% of all lines, comments represent 21.2%, and the repository averages 235 code lines per file. PHP accounts for 76.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PHP | 4,020 | 1,743,867 | 1,137,393 | 399,612 | 206,862 |
| JavaScript | 956 | 171,311 | 128,875 | 23,971 | 18,465 |
| SQL | 921 | 94,535 | 66,881 | 21,804 | 5,850 |
| JSON | 39 | 64,790 | 64,787 | 0 | 3 |
| CSS | 138 | 33,859 | 26,935 | 1,295 | 5,629 |
| YAML | 6 | 25,417 | 25,415 | 0 | 2 |
| SVG | 34 | 23,463 | 23,427 | 25 | 11 |
| TypeScript | 4 | 6,589 | 5,881 | 280 | 428 |
| Sass | 18 | 5,320 | 4,758 | 56 | 506 |
| LESS | 18 | 5,296 | 4,738 | 55 | 503 |
| HTML | 24 | 743 | 645 | 25 | 73 |
| XML | 4 | 224 | 223 | 0 | 1 |

Top language (PHP 76.3%). Generated at 2026-09-18T15:26:40.736651099+00:00. Canonical report: https://octocounts.com/github/Dolibarr/dolibarr

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/Dolibarr/dolibarr/commit/e43c8d3049e6427b375be430348962b74a281ce6?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does Dolibarr/dolibarr have?

Dolibarr/dolibarr has 2,201,440 total lines, including 1,490,070 code lines, 466,878 comment lines, and 244,492 blank lines.

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

OctoCounts resolved the public GitHub repository to commit e43c8d3049e6, 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 e43c8d3049e6 on 2026-09-18T15:26:40.736651099+00:00.

## Similar repository reports

- [symfony/symfony](https://octocounts.com/github/symfony/symfony) — PHP, 1,283,887 code lines
- [magento/magento2](https://octocounts.com/github/magento/magento2) — PHP, 1,947,193 code lines
- [WordPress/WordPress](https://octocounts.com/github/WordPress/WordPress) — PHP, 781,556 code lines
- [SuiteCRM/SuiteCRM](https://octocounts.com/github/SuiteCRM/SuiteCRM) — PHP, 727,112 code lines
- [moodle/moodle](https://octocounts.com/github/moodle/moodle) — PHP, 2,278,067 code lines
- [OpenMage/magento-lts](https://octocounts.com/github/OpenMage/magento-lts) — PHP, 477,486 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)
