# apache/iceberg SLOC report

> apache/iceberg: 439,819 code lines at commit d31f64359264, counted with tokei-15.0.0 on 2026-11-16. Saved result a2a6daaba9415224a12440ebebf726bd36a7081f107d5cc0854d33ab6e88691a.

apache/iceberg has 439,819 source lines of code out of 637,690 total lines across 3,752 files, counted with tokei from the main ref at commit d31f64359264 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/iceberg to commit d31f64359264, 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/iceberg: 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 69.0% of all lines, comments represent 18.8%, and the repository averages 117 code lines per file. Java accounts for 95.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 3,493 | 604,057 | 420,313 | 110,472 | 73,272 |
| Scala | 213 | 16,976 | 10,418 | 4,611 | 1,947 |
| YAML | 4 | 6,911 | 6,283 | 118 | 510 |
| Python | 1 | 2,547 | 2,040 | 16 | 491 |
| Shell | 4 | 511 | 251 | 186 | 74 |
| TOML | 1 | 234 | 210 | 20 | 4 |
| XML | 1 | 138 | 124 | 13 | 1 |
| BASH | 1 | 78 | 44 | 21 | 13 |
| JSON | 1 | 47 | 41 | 0 | 6 |
| Dockerfile | 2 | 100 | 40 | 45 | 15 |
| SQL | 1 | 78 | 34 | 34 | 10 |
| Makefile | 1 | 44 | 21 | 18 | 5 |
| Markdown | 14 | 4,799 | 0 | 3,457 | 1,342 |
| Plain Text | 15 | 1,170 | 0 | 1,169 | 1 |

Top language: Java 95.6%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/apache/iceberg/commit/d31f6435926425ad1e4216871e405cacf10cd6b3?reportId=a2a6daaba9415224a12440ebebf726bd36a7081f107d5cc0854d33ab6e88691a&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/apache/iceberg/commit/d31f6435926425ad1e4216871e405cacf10cd6b3?reportId=a2a6daaba9415224a12440ebebf726bd36a7081f107d5cc0854d33ab6e88691a&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 apache/iceberg have?

apache/iceberg has 439,819 lines of code, plus 120,180 comment lines and 77,691 blank lines, for 637,690 total lines at commit d31f64359264 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit d31f64359264, 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/iceberg?

This OctoCounts report was generated from main at commit d31f64359264 on November 16, 2026.

## Similar repository reports

- [TestPQC-SonarQube/ejbca-ce](https://octocounts.com/github/TestPQC-SonarQube/ejbca-ce) — Java, 437,872 code lines
- [dhis2/dhis2-core](https://octocounts.com/github/dhis2/dhis2-core) — Java, 442,123 code lines
- [apache/cxf](https://octocounts.com/github/apache/cxf) — Java, 443,462 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)
