# apache/ozone SLOC report

> As of 2026-11-20 (commit 5d7bbc801dfe), apache/ozone contains 668,090 total lines: 445,213 code, 150,944 comments, 71,933 blank, across 3,791 files in 22 languages (top language: Java 81.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

apache/ozone has 445,213 source lines of code out of 668,090 total lines across 3,791 files, counted with tokei from the 5d7bbc801dfec9f76d4f29b86cb1811529244da2 ref at commit 5d7bbc801dfe on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/ozone to commit 5d7bbc801dfe, 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

apache/ozone: 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 66.6% of all lines, comments represent 22.6%, and the repository averages 117 code lines per file. Java accounts for 81.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 3,304 | 567,893 | 364,537 | 139,611 | 63,745 |
| XML | 123 | 23,239 | 20,712 | 2,101 | 426 |
| TSX | 119 | 21,000 | 16,785 | 2,509 | 1,706 |
| JSON | 5 | 9,468 | 9,462 | 0 | 6 |
| CSS | 9 | 8,560 | 8,347 | 105 | 108 |
| YAML | 2 | 8,093 | 6,360 | 27 | 1,706 |
| Protocol Buffers | 21 | 7,427 | 5,919 | 382 | 1,126 |
| JavaScript | 16 | 4,555 | 3,420 | 399 | 736 |
| Shell | 53 | 3,741 | 1,787 | 1,378 | 576 |
| LESS | 31 | 2,525 | 1,687 | 543 | 295 |
| HTML | 25 | 2,012 | 1,488 | 420 | 104 |
| C++ | 9 | 1,953 | 1,449 | 197 | 307 |

Top language: Java 81.9%. Generated on November 20, 2026. Canonical report: https://octocounts.com/github/apache/ozone

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/ozone/commit/5d7bbc801dfec9f76d4f29b86cb1811529244da2?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=acce887f81cb7775f1633aa73b59ee92232b9a702c4406c4c0909cb6a58c75e5).

## Report FAQ

### How many lines of code does apache/ozone have?

apache/ozone has 445,213 lines of code, plus 150,944 comment lines and 71,933 blank lines, for 668,090 total lines at commit 5d7bbc801dfe on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the apache/ozone line count measured?

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

### What commit was counted for apache/ozone?

This OctoCounts report was generated from 5d7bbc801dfec9f76d4f29b86cb1811529244da2 at commit 5d7bbc801dfe on November 20, 2026.

## Similar repository reports

- [dhis2/dhis2-core](https://octocounts.com/github/dhis2/dhis2-core) — Java, 445,765 code lines
- [apache/cxf](https://octocounts.com/github/apache/cxf) — Java, 443,759 code lines
- [apache/iceberg](https://octocounts.com/github/apache/iceberg) — Java, 441,895 code lines
- [apache/jackrabbit-oak](https://octocounts.com/github/apache/jackrabbit-oak) — Java, 451,653 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

## 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)
