# dhis2/dhis2-core SLOC report

> dhis2/dhis2-core: 442,123 code lines at commit ffc7e8d4ae65, counted with tokei-15.0.0 on 2026-11-16. Saved result a49b6f543df1f52503d868c82ff73c0704e728dc98126008d34d9700b81d5404.

dhis2/dhis2-core has 442,123 source lines of code out of 761,732 total lines across 6,108 files, counted with tokei from the master ref at commit ffc7e8d4ae65 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving dhis2/dhis2-core to commit ffc7e8d4ae65, 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

dhis2/dhis2-core: 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 large codebase by counted code lines. Code represents 58.0% of all lines, comments represent 29.8%, and the repository averages 72 code lines per file. Java accounts for 79.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 4,315 | 633,430 | 353,276 | 205,703 | 74,451 |
| JavaScript | 118 | 38,951 | 28,027 | 6,298 | 4,626 |
| SQL | 362 | 31,577 | 14,855 | 8,209 | 8,513 |
| XML | 142 | 16,712 | 13,891 | 683 | 2,138 |
| CSS | 44 | 15,657 | 13,808 | 660 | 1,189 |
| SVG | 927 | 9,182 | 9,181 | 1 | 0 |
| YAML | 123 | 7,943 | 5,103 | 2,720 | 120 |
| Shell | 18 | 2,583 | 1,890 | 323 | 370 |
| Apache Velocity | 18 | 672 | 610 | 0 | 62 |
| Groovy | 4 | 760 | 496 | 186 | 78 |
| Python | 2 | 407 | 337 | 9 | 61 |
| JSON | 4 | 243 | 243 | 0 | 0 |
| XSL | 2 | 197 | 169 | 8 | 20 |
| HTML | 2 | 175 | 138 | 7 | 30 |
| Sass | 1 | 118 | 79 | 13 | 26 |
| Dockerfile | 2 | 22 | 15 | 4 | 3 |
| Ruby | 1 | 22 | 5 | 13 | 4 |
| Markdown | 21 | 2,957 | 0 | 2,021 | 936 |
| Plain Text | 2 | 124 | 0 | 107 | 17 |

Top language: Java 79.9%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/dhis2/dhis2-core/commit/ffc7e8d4ae65c12642ad75fc4110565d5f943168?reportId=a49b6f543df1f52503d868c82ff73c0704e728dc98126008d34d9700b81d5404&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/dhis2/dhis2-core/commit/ffc7e8d4ae65c12642ad75fc4110565d5f943168?reportId=a49b6f543df1f52503d868c82ff73c0704e728dc98126008d34d9700b81d5404&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 dhis2/dhis2-core have?

dhis2/dhis2-core has 442,123 lines of code, plus 226,965 comment lines and 92,644 blank lines, for 761,732 total lines at commit ffc7e8d4ae65 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the dhis2/dhis2-core line count measured?

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

### What commit was counted for dhis2/dhis2-core?

This OctoCounts report was generated from master at commit ffc7e8d4ae65 on November 16, 2026.

## Similar repository reports

- [apache/cxf](https://octocounts.com/github/apache/cxf) — Java, 443,462 code lines
- [apache/iceberg](https://octocounts.com/github/apache/iceberg) — Java, 439,819 code lines
- [TestPQC-SonarQube/ejbca-ce](https://octocounts.com/github/TestPQC-SonarQube/ejbca-ce) — Java, 437,872 code lines
- [blitzy-public-samples/dhis2-core](https://octocounts.com/github/blitzy-public-samples/dhis2-core) — Java, 431,615 code lines
- [YunaiV/ruoyi-vue-pro](https://octocounts.com/github/YunaiV/ruoyi-vue-pro) — Java, 460,615 code lines
- [jetty/jetty.project](https://octocounts.com/github/jetty/jetty.project) — Java, 461,290 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)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [Kubernetes vs Docker Compose](https://octocounts.com/compare/kubernetes-vs-docker-compose)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
