# apache/cassandra SLOC report

> As of 2026-09-05 (commit e4d83b3bb74c), apache/cassandra contains 807,208 total lines: 535,394 code, 172,772 comments, 99,042 blank, across 3,533 files in 12 languages (top: Java 95.2%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apache/cassandra to commit e4d83b3bb74c, 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.3% of all lines, comments represent 21.4%, and the repository averages 152 code lines per file. Java accounts for 95.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 3,382 | 746,095 | 509,730 | 141,991 | 94,374 |
| SVG | 18 | 13,066 | 11,236 | 1,814 | 16 |
| Python | 17 | 9,835 | 7,807 | 495 | 1,533 |
| XML | 22 | 4,902 | 4,158 | 479 | 265 |
| Shell | 36 | 2,958 | 1,638 | 957 | 363 |
| YAML | 6 | 6,250 | 458 | 5,261 | 531 |
| RPM Specfile | 1 | 228 | 153 | 37 | 38 |
| AsciiDoc | 4 | 176 | 127 | 0 | 49 |
| BASH | 1 | 138 | 77 | 52 | 9 |
| HTML | 1 | 30 | 10 | 18 | 2 |
| Markdown | 18 | 4,589 | 0 | 3,560 | 1,029 |
| Plain Text | 27 | 18,941 | 0 | 18,108 | 833 |

Top language (Java 95.2%). Generated at 2026-09-05T15:42:10.043930109+00:00. Canonical report: https://octocounts.com/github/apache/cassandra

## Report FAQ

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

apache/cassandra has 807,208 total lines, including 535,394 code lines, 172,772 comment lines, and 99,042 blank lines.

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

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

This OctoCounts report was generated from e4d83b3bb74c4c9be3c8e5e1119709d1aa585eb7 at commit e4d83b3bb74c on 2026-09-05T15:42:10.043930109+00:00.

## Similar repository reports

- [libgdx/libgdx](https://octocounts.com/github/libgdx/libgdx) — Java, 542,150 code lines
- [apache/calcite](https://octocounts.com/github/apache/calcite) — Java, 544,096 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)
