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.
As of 2026-11-16 (commit 63c95a05ab75), apache/spark contains 1,611,582 total lines: 1,042,808 code, 407,060 comments, 161,714 blank, across 6,019 files in 26 languages (top language: Scala 58.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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.
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 | 3620 | 981215 | 605951 | 273851 | 101413 |
| Python | 600 | 328176 | 278603 | 18211 | 31362 |
| Java | 1031 | 144883 | 81676 | 47115 | 16092 |
| JSON | 22 | 34021 | 34018 | 0 | 3 |
| XML | 57 | 14424 | 12340 | 1627 | 457 |
| R | 67 | 26824 | 10421 | 14053 | 2350 |
| JavaScript | 32 | 12812 | 7287 | 4958 | 567 |
| Protocol Buffers | 18 | 7730 | 3898 | 2578 | 1254 |
| Shell | 50 | 5733 | 3680 | 1375 | 678 |
| CSS | 12 | 1634 | 1231 | 149 | 254 |
| BASH | 39 | 2310 | 1091 | 876 | 343 |
| Dockerfile | 17 | 1188 | 652 | 373 | 163 |
Top language: Scala 58.1%. Generated on .
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.
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.
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.
This OctoCounts report was generated from master at commit 63c95a05ab75 on November 16, 2026.
Play the growth animation for apache/spark on this page — 1,042,808 code lines across 26 languages, counted by tokei.