# odoo/odoo SLOC report

> As of 2026-10-23 (commit 4e2ffb3a0135), odoo/odoo contains 26,492,872 total lines: 11,716,486 code, 10,896,439 comments, 3,879,947 blank, across 40,299 files in 24 languages (top: PO File 83.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

odoo/odoo has 11,716,486 source lines of code out of 26,492,872 total lines across 40,299 files, counted from the 20.0 ref at commit 4e2ffb3a0135 by the OctoCounts tokei engine on 2026-10-23. 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 odoo/odoo to commit 4e2ffb3a0135, 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 44.2% of all lines, comments represent 41.1%, and the repository averages 291 code lines per file. PO File accounts for 83.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PO File | 20,860 | 24,221,963 | 9,766,825 | 10,748,261 | 3,706,877 |
| JavaScript | 4,310 | 792,174 | 652,705 | 91,381 | 48,088 |
| Python | 6,749 | 694,000 | 571,559 | 37,712 | 84,729 |
| XML | 5,567 | 509,720 | 485,504 | 5,779 | 18,437 |
| JSON | 50 | 76,533 | 76,528 | 0 | 5 |
| Sass | 1,240 | 80,854 | 64,438 | 5,447 | 10,969 |
| FreeMarker | 112 | 50,668 | 44,647 | 0 | 6,021 |
| SVG | 1,047 | 33,114 | 32,932 | 105 | 77 |
| CSS | 39 | 16,898 | 14,377 | 333 | 2,188 |
| TypeScript | 86 | 4,109 | 3,440 | 370 | 299 |
| HTML | 15 | 1,639 | 1,551 | 27 | 61 |
| Shell | 14 | 1,308 | 771 | 400 | 137 |

Top language (PO File 83.4%). Generated at 2026-10-23T07:51:36.731508633+00:00. Canonical report: https://octocounts.com/github/odoo/odoo

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/odoo/odoo/commit/4e2ffb3a01358895ecfee792dec3b1e5d8de5cbd?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&reportId=58d725e29278de6dffbc70c3e5d6cbf201706f5b37b42aa244d2008568e71bd6).

## Report FAQ

### How many lines of code does odoo/odoo have?

odoo/odoo has 26,492,872 total lines, including 11,716,486 code lines, 10,896,439 comment lines, and 3,879,947 blank lines.

### How was the odoo/odoo line count measured?

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

### What commit was counted for odoo/odoo?

This OctoCounts report was generated from 20.0 at commit 4e2ffb3a0135 on 2026-10-23T07:51:36.731508633+00:00.

## Similar repository reports

- [metabase/metabase](https://octocounts.com/github/metabase/metabase) — PO File, 2,976,718 code lines
- [GNOME/gimp](https://octocounts.com/github/GNOME/gimp) — PO File, 2,757,945 code lines
- [videolan/vlc](https://octocounts.com/github/videolan/vlc) — PO File, 2,481,336 code lines
- [WeblateOrg/weblate](https://octocounts.com/github/WeblateOrg/weblate) — PO File, 2,210,654 code lines
- [frappe/erpnext](https://octocounts.com/github/frappe/erpnext) — PO File, 1,873,725 code lines
- [tryton/tryton](https://octocounts.com/github/tryton/tryton) — PO File, 1,523,593 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)
- [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)
