# dhis2/dhis2-core SLOC report

> dhis2/dhis2-core: 435,388 code lines at commit a52fecc53470, counted with tokei-14.0.0 on 2026-10-24. Saved result ffb4ec730cc621e797a0e4fb7374335d86d19985bae7b97bd0442a6a0c37910a.

dhis2/dhis2-core has 435,388 source lines of code out of 751,596 total lines across 6,093 files, counted from the master ref at commit a52fecc53470 by the OctoCounts tokei engine on 2026-10-24. 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 a52fecc53470, 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,965 | 346,947 | 203,453 | 73,565 |
| 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-24T10:14:52.437074004Z. Canonical report: https://octocounts.com/github/dhis2/dhis2-core/commit/a52fecc534701c5fdb382cf339ac81297d371fb6?reportId=ffb4ec730cc621e797a0e4fb7374335d86d19985bae7b97bd0442a6a0c37910a&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/a52fecc534701c5fdb382cf339ac81297d371fb6?reportId=ffb4ec730cc621e797a0e4fb7374335d86d19985bae7b97bd0442a6a0c37910a&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,596 total lines, including 435,388 code lines, 224,406 comment lines, and 91,802 blank lines.

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

OctoCounts resolved the public GitHub repository to commit a52fecc53470, 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 a52fecc53470 on 2026-10-24T10:14:52.437074004Z.

## 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
- [apache/kafka](https://octocounts.com/github/apache/kafka) — Java, 487,112 code lines
- [wimi321/lizzieyzy-next](https://octocounts.com/github/wimi321/lizzieyzy-next) — Java, 385,845 code lines
- [eclipse-elk/elk](https://octocounts.com/github/eclipse-elk/elk) — Java, 381,364 code lines
- [apache/shardingsphere](https://octocounts.com/github/apache/shardingsphere) — Java, 354,406 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)
