# frappe/erpnext SLOC report

> As of 2026-11-06 (commit 66345aba893b), frappe/erpnext contains 4,185,204 total lines: 1,963,322 code, 1,615,269 comments, 606,613 blank, across 5,770 files in 16 languages (top programming language: Python 21.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

frappe/erpnext has 1,963,322 source lines of code out of 4,185,204 total lines across 5,770 files, counted with tokei from the develop ref at commit 66345aba893b on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving frappe/erpnext to commit 66345aba893b, 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

frappe/erpnext: 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 46.9% of all lines, comments represent 38.6%, and the repository averages 340 code lines per file. Python is the largest programming language at 21.5% of counted code; data and prose formats such as JSON or YAML hold a larger share.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PO File | 41 | 3,144,748 | 1,044,114 | 1,593,340 | 507,294 |
| Python | 3,066 | 524,414 | 422,759 | 14,754 | 86,901 |
| JSON | 1,358 | 371,921 | 371,741 | 0 | 180 |
| JavaScript | 689 | 94,870 | 84,002 | 2,371 | 8,497 |
| TSX | 96 | 16,553 | 14,261 | 471 | 1,821 |
| SVG | 120 | 13,760 | 13,716 | 31 | 13 |
| HTML | 116 | 6,796 | 6,306 | 56 | 434 |
| TypeScript | 41 | 3,067 | 2,265 | 494 | 308 |
| Sass | 10 | 2,680 | 2,251 | 5 | 424 |
| CSS | 10 | 1,488 | 1,225 | 49 | 214 |
| Vue | 13 | 341 | 315 | 1 | 25 |
| XML | 1 | 249 | 245 | 0 | 4 |

Top programming language: Python 21.5%. Generated on November 6, 2026. Canonical report: https://octocounts.com/github/frappe/erpnext

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/frappe/erpnext/commit/66345aba893b509c8eefe4cb9f9352067ee4342d?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=b8dc77a12f7519efcab243db74193ce705fab0115e4058fbbacf4b3532ff63c7).

## Report FAQ

### How many lines of code does frappe/erpnext have?

frappe/erpnext has 1,963,322 lines of code, plus 1,615,269 comment lines and 606,613 blank lines, for 4,185,204 total lines at commit 66345aba893b on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the frappe/erpnext line count measured?

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

### What commit was counted for frappe/erpnext?

This OctoCounts report was generated from develop at commit 66345aba893b on November 6, 2026.

## Similar repository reports

- [reactive-resume/reactive-resume](https://octocounts.com/github/reactive-resume/reactive-resume) — PO File, 1,759,983 code lines
- [WeblateOrg/weblate](https://octocounts.com/github/WeblateOrg/weblate) — PO File, 2,405,043 code lines
- [aizhou01/metabase](https://octocounts.com/github/aizhou01/metabase) — PO File, 2,413,014 code lines
- [videolan/vlc](https://octocounts.com/github/videolan/vlc) — PO File, 2,482,665 code lines
- [tryton/tryton](https://octocounts.com/github/tryton/tryton) — PO File, 1,523,668 code lines
- [apache/superset](https://octocounts.com/github/apache/superset) — PO File, 1,483,061 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [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)
