# apache/calcite SLOC report

> As of 2026-08-02 (commit ed12f36f19f4), apache/calcite contains 814,779 total lines: 544,096 code, 193,792 comments, 76,891 blank, across 3,024 files in 18 languages (top: Java 89.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apache/calcite to commit ed12f36f19f4, 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.8% of all lines, comments represent 23.8%, and the repository averages 180 code lines per file. Java accounts for 89.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 2,606 | 723,933 | 488,642 | 163,064 | 72,227 |
| XML | 35 | 40,446 | 39,676 | 695 | 75 |
| SQL | 104 | 6,325 | 4,620 | 1,590 | 115 |
| JSON | 53 | 3,192 | 3,192 | 0 | 0 |
| Kotlin | 47 | 4,488 | 3,068 | 1,024 | 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,364 | 744 | 1,441 | 179 |
| Shell | 4 | 348 | 138 | 176 | 34 |
| Batch | 3 | 169 | 93 | 45 | 31 |

Top language (Java 89.8%). Generated at 2026-08-02T04:43:36.742152755+00:00. Canonical report: https://octocounts.com/github/apache/calcite

## Report FAQ

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

apache/calcite has 814,779 total lines, including 544,096 code lines, 193,792 comment lines, and 76,891 blank lines.

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

OctoCounts resolved the public GitHub repository to commit ed12f36f19f4, 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 ed12f36f19f4 on 2026-08-02T04:43:36.742152755+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
- [apache/kafka](https://octocounts.com/github/apache/kafka) — Java, 480,371 code lines
- [keycloak/keycloak](https://octocounts.com/github/keycloak/keycloak) — Java, 471,314 code lines
- [strimzi/strimzi-kafka-operator](https://octocounts.com/github/strimzi/strimzi-kafka-operator) — Java, 451,271 code lines
- [spring-projects/spring-framework](https://octocounts.com/github/spring-projects/spring-framework) — Java, 443,819 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
