# apache/spark SLOC report

> apache/spark: 1,042,808 code lines at commit 63c95a05ab75, counted with tokei-15.0.0 on 2026-11-16. Saved result a53025107d52d964fcbae6914301b1200cf193cb60b60bfee6b63aaa6f8dd66b.

apache/spark has 1,042,808 source lines of code out of 1,611,582 total lines across 6,019 files, counted with tokei from the master ref at commit 63c95a05ab75 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/spark to commit 63c95a05ab75, 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/spark: 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 very large codebase by counted code lines. Code represents 64.7% of all lines, comments represent 25.3%, and the repository averages 173 code lines per file. Scala accounts for 58.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Scala | 3,620 | 981,215 | 605,951 | 273,851 | 101,413 |
| Python | 600 | 328,176 | 278,603 | 18,211 | 31,362 |
| Java | 1,031 | 144,883 | 81,676 | 47,115 | 16,092 |
| JSON | 22 | 34,021 | 34,018 | 0 | 3 |
| XML | 57 | 14,424 | 12,340 | 1,627 | 457 |
| R | 67 | 26,824 | 10,421 | 14,053 | 2,350 |
| JavaScript | 32 | 12,812 | 7,287 | 4,958 | 567 |
| Protocol Buffers | 18 | 7,730 | 3,898 | 2,578 | 1,254 |
| Shell | 50 | 5,733 | 3,680 | 1,375 | 678 |
| CSS | 12 | 1,634 | 1,231 | 149 | 254 |
| BASH | 39 | 2,310 | 1,091 | 876 | 343 |
| Dockerfile | 17 | 1,188 | 652 | 373 | 163 |
| Batch | 17 | 611 | 527 | 0 | 84 |
| YAML | 9 | 543 | 379 | 146 | 18 |
| HTML | 4 | 430 | 376 | 48 | 6 |
| TOML | 1 | 313 | 243 | 39 | 31 |
| C Header | 1 | 1,013 | 215 | 721 | 77 |
| INI | 1 | 191 | 107 | 27 | 57 |
| Templ | 2 | 82 | 60 | 0 | 22 |
| C | 1 | 49 | 19 | 22 | 8 |
| SVG | 2 | 14 | 14 | 0 | 0 |
| Forge Config | 3 | 66 | 12 | 48 | 6 |
| Makefile | 1 | 27 | 7 | 16 | 4 |
| Autoconf | 1 | 30 | 1 | 27 | 2 |
| Markdown | 33 | 2,997 | 0 | 2,202 | 795 |
| Plain Text | 378 | 44,266 | 0 | 38,598 | 5,668 |

Top language: Scala 58.1%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/apache/spark/commit/63c95a05ab75080d720cf5d229f261c0b863fc5c?reportId=a53025107d52d964fcbae6914301b1200cf193cb60b60bfee6b63aaa6f8dd66b&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/spark/commit/63c95a05ab75080d720cf5d229f261c0b863fc5c?reportId=a53025107d52d964fcbae6914301b1200cf193cb60b60bfee6b63aaa6f8dd66b&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/spark have?

apache/spark has 1,042,808 lines of code, plus 407,060 comment lines and 161,714 blank lines, for 1,611,582 total lines at commit 63c95a05ab75 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 63c95a05ab75, 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/spark?

This OctoCounts report was generated from master at commit 63c95a05ab75 on November 16, 2026.

## Similar repository reports

- [twitter/the-algorithm](https://octocounts.com/github/twitter/the-algorithm) — Scala, 525,329 code lines
- [lichess-org/lila](https://octocounts.com/github/lichess-org/lila) — Scala, 292,034 code lines
- [Netflix/atlas](https://octocounts.com/github/Netflix/atlas) — Scala, 37,684 code lines
- [ie3-institute/simona](https://octocounts.com/github/ie3-institute/simona) — Scala, 27,621 code lines
- [Vyxal/Vyxal](https://octocounts.com/github/Vyxal/Vyxal) — Scala, 19,524 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)
- [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)
