# apache/cassandra SLOC report

> apache/cassandra: 545,786 code lines at commit 30b73cadf345, counted with tokei-15.0.0 on 2026-11-15. Saved result c2dac020055abe8bd8720d51578d535d80dff7d489eea19ddb1976eeea4a88bf.

apache/cassandra has 545,786 source lines of code out of 822,872 total lines across 3,572 files, counted with tokei from the trunk ref at commit 30b73cadf345 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 3,413 | 758,931 | 518,983 | 144,031 | 95,917 |
| SVG | 18 | 13,066 | 11,236 | 1,814 | 16 |
| Python | 19 | 10,869 | 8,572 | 672 | 1,625 |
| XML | 22 | 4,915 | 4,166 | 483 | 266 |
| Shell | 36 | 2,960 | 1,638 | 959 | 363 |
| YAML | 6 | 6,297 | 458 | 5,305 | 534 |
| Lean | 1 | 619 | 264 | 300 | 55 |
| RPM Specfile | 1 | 231 | 156 | 37 | 38 |
| AsciiDoc | 4 | 176 | 127 | 0 | 49 |
| Forge Config | 2 | 101 | 99 | 0 | 2 |
| BASH | 1 | 138 | 77 | 52 | 9 |
| HTML | 1 | 30 | 10 | 18 | 2 |
| Markdown | 21 | 5,475 | 0 | 4,322 | 1,153 |
| Plain Text | 27 | 19,064 | 0 | 18,232 | 832 |

Top language: Java 95.1%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/apache/cassandra/commit/30b73cadf3458db49add274d6105f7ae93ea6e5e?reportId=c2dac020055abe8bd8720d51578d535d80dff7d489eea19ddb1976eeea4a88bf&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/cassandra/commit/30b73cadf3458db49add274d6105f7ae93ea6e5e?reportId=c2dac020055abe8bd8720d51578d535d80dff7d489eea19ddb1976eeea4a88bf&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/cassandra have?

apache/cassandra has 545,786 lines of code, plus 176,225 comment lines and 100,861 blank lines, for 822,872 total lines at commit 30b73cadf345 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 30b73cadf345, 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 trunk at commit 30b73cadf345 on November 15, 2026.

## Similar repository reports

- [libgdx/libgdx](https://octocounts.com/github/libgdx/libgdx) — Java, 542,356 code lines
- [kksimp/Mac.apk](https://octocounts.com/github/kksimp/Mac.apk) — Java, 557,448 code lines
- [alibaba/nacos](https://octocounts.com/github/alibaba/nacos) — Java, 508,937 code lines
- [openl-tablets/openl-tablets](https://octocounts.com/github/openl-tablets/openl-tablets) — Java, 587,098 code lines
- [TestPQC-SonarQube/keycloak](https://octocounts.com/github/TestPQC-SonarQube/keycloak) — Java, 592,491 code lines
- [keycloak/keycloak](https://octocounts.com/github/keycloak/keycloak) — Java, 594,576 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)
- [Cassandra vs ScyllaDB](https://octocounts.com/compare/cassandra-vs-scylla)
- [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)
