# apache/calcite SLOC report

> As of 2026-09-17 (commit 38413ece67fc), apache/calcite contains 829,365 total lines: 554,520 code, 196,974 comments, 77,871 blank, across 3,051 files in 18 languages (top: Java 89.8%). Default configuration. Counted with tokei via OctoCounts.

apache/calcite has 554,520 source lines of code out of 829,365 total lines across 3,051 files, counted from the main ref at commit 38413ece67fc by the OctoCounts tokei engine on 2026-09-17. 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 apache/calcite to commit 38413ece67fc, 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 66.9% of all lines, comments represent 23.7%, and the repository averages 182 code lines per file. Java accounts for 89.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 2,631 | 736,993 | 497,688 | 166,113 | 73,192 |
| XML | 36 | 41,835 | 41,049 | 711 | 75 |
| SQL | 104 | 6,325 | 4,620 | 1,590 | 115 |
| JSON | 53 | 3,192 | 3,192 | 0 | 0 |
| Kotlin | 47 | 4,493 | 3,070 | 1,027 | 396 |
| Sass | 8 | 1,388 | 1,121 | 69 | 198 |
| FreeMarker | 7 | 1,248 | 1,021 | 163 | 64 |
| SVG | 2 | 866 | 849 | 17 | 0 |
| HTML | 29 | 931 | 761 | 124 | 46 |
| YAML | 16 | 2,367 | 747 | 1,441 | 179 |
| Shell | 4 | 348 | 138 | 176 | 34 |
| Batch | 3 | 169 | 93 | 46 | 30 |

Top language (Java 89.8%). Generated at 2026-09-17T04:25:16.011832761+00:00. Canonical report: https://octocounts.com/github/apache/calcite

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/calcite/commit/38413ece67fcedcd8c8dc5e6af7bce1efaae1ffc?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Atrue%2C%22includeTests%22%3Atrue%2C%22includeGenerated%22%3Atrue%7D).

## Report FAQ

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

apache/calcite has 829,365 total lines, including 554,520 code lines, 196,974 comment lines, and 77,871 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 38413ece67fc, 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/calcite?

This OctoCounts report was generated from main at commit 38413ece67fc on 2026-09-17T04:25:16.011832761+00:00.

## Similar repository reports

- [libgdx/libgdx](https://octocounts.com/github/libgdx/libgdx) — Java, 542,150 code lines
- [apache/cassandra](https://octocounts.com/github/apache/cassandra) — Java, 535,394 code lines
- [keycloak/keycloak](https://octocounts.com/github/keycloak/keycloak) — Java, 582,524 code lines
- [apache/kafka](https://octocounts.com/github/apache/kafka) — Java, 482,069 code lines
- [spring-projects/spring-framework](https://octocounts.com/github/spring-projects/spring-framework) — Java, 443,819 code lines
- [dbeaver/dbeaver](https://octocounts.com/github/dbeaver/dbeaver) — Java, 683,995 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)
