# dhis2/dhis2-core SLOC report

> dhis2/dhis2-core: 435,365 code lines at commit 61377d1e923a, counted with tokei-14.0.0 on 2026-10-23. Saved result 0a8bb68441b2c063364694798fc36cfba6c27ea7a9b30e85f18e4d262f1152b1.

dhis2/dhis2-core has 435,365 source lines of code out of 751,563 total lines across 6,093 files, counted from the master ref at commit 61377d1e923a 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 dhis2/dhis2-core to commit 61377d1e923a, 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 large codebase by counted code lines. Code represents 57.9% of all lines, comments represent 29.9%, and the repository averages 71 code lines per file. Java accounts for 79.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 4,297 | 623,932 | 346,924 | 203,447 | 73,561 |
| JavaScript | 118 | 38,951 | 28,027 | 6,298 | 4,626 |
| SQL | 358 | 31,463 | 14,763 | 8,200 | 8,500 |
| XML | 158 | 17,062 | 14,140 | 678 | 2,244 |
| CSS | 44 | 15,657 | 13,808 | 660 | 1,189 |
| SVG | 927 | 9,182 | 9,181 | 1 | 0 |
| YAML | 116 | 7,372 | 4,709 | 2,551 | 112 |
| Shell | 17 | 2,384 | 1,732 | 300 | 352 |
| 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 |
| Ruby | 1 | 22 | 5 | 13 | 4 |
| Dockerfile | 1 | 6 | 4 | 0 | 2 |
| Markdown | 21 | 2,836 | 0 | 1,922 | 914 |
| Plain Text | 2 | 124 | 0 | 107 | 17 |

Top language (Java 79.7%). Generated at 2026-10-23T00:23:54.604296098Z. Canonical report: https://octocounts.com/github/dhis2/dhis2-core/commit/61377d1e923a46c404466c7137bea86bc8892030?reportId=0a8bb68441b2c063364694798fc36cfba6c27ea7a9b30e85f18e4d262f1152b1&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/61377d1e923a46c404466c7137bea86bc8892030?reportId=0a8bb68441b2c063364694798fc36cfba6c27ea7a9b30e85f18e4d262f1152b1&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 751,563 total lines, including 435,365 code lines, 224,400 comment lines, and 91,798 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 61377d1e923a, 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 61377d1e923a on 2026-10-23T00:23:54.604296098Z.

## Similar repository reports

- [blitzy-public-samples/dhis2-core](https://octocounts.com/github/blitzy-public-samples/dhis2-core) — Java, 431,615 code lines
- [spring-projects/spring-framework](https://octocounts.com/github/spring-projects/spring-framework) — Java, 461,681 code lines
- [eclipse-elk/elk](https://octocounts.com/github/eclipse-elk/elk) — Java, 381,364 code lines
- [wimi321/lizzieyzy-next](https://octocounts.com/github/wimi321/lizzieyzy-next) — Java, 380,445 code lines
- [apache/shardingsphere](https://octocounts.com/github/apache/shardingsphere) — Java, 354,405 code lines
- [kksimp/Mac.apk](https://octocounts.com/github/kksimp/Mac.apk) — Java, 536,849 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)
- [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)
