As of 2026-08-26 (commit af71469706e7), apache/spark contains 1,539,375 total lines: 992,855 code, 389,196 comments, 157,324 blank, across 5,970 files in 25 languages (top: Scala 57.3%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/spark to commit af71469706e7, 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.
This is a large codebase by counted code lines. Code represents 64.5% of all lines, comments represent 25.3%, and the repository averages 166 code lines per file. Scala accounts for 57.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Scala | 3515 | 921190 | 569311 | 254518 | 97361 |
| Python | 583 | 318769 | 270662 | 17480 | 30627 |
| Java | 1008 | 137563 | 77575 | 44429 | 15559 |
| JSON | 22 | 33582 | 33579 | 0 | 3 |
| XML | 56 | 14090 | 12082 | 1568 | 440 |
| R | 67 | 26824 | 10421 | 14053 | 2350 |
| JavaScript | 32 | 12774 | 7264 | 4946 | 564 |
| Protocol Buffers | 18 | 7572 | 3851 | 2498 | 1223 |
| Shell | 48 | 5392 | 3480 | 1271 | 641 |
| CSS | 12 | 1632 | 1230 | 148 | 254 |
| BASH | 39 | 2318 | 1094 | 880 | 344 |
| Dockerfile | 16 | 1082 | 587 | 347 | 148 |
Top language (Scala 57.3%). Generated at 2026-08-26T13:10:09.563430851+00:00.
apache/spark has 1,539,375 total lines, including 992,855 code lines, 389,196 comment lines, and 157,324 blank lines.
OctoCounts resolved the public GitHub repository to commit af71469706e7, 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 af71469706e7 on 2026-08-26T13:10:09.563430851+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: