apache/spark SLOC report
As of 2026-07-25 (commit b910d6f4101c), apache/spark contains 3,209,062 total lines: 2,121,904 code, 720,413 comments, 366,745 blank, across 14,247 files in 32 languages (top: Scala 62.4%). Counted with tokei via OctoCounts.
Repository size insights
This is a very large codebase by counted code lines. Code represents 66.1% of all lines, comments represent 22.4%, and the repository averages 149 code lines per file. Scala accounts for 62.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Scala | 6220 | 1891633 | 1324667 | 354902 | 212064 |
| Python | 1513 | 481860 | 388047 | 37833 | 55980 |
| Java | 1348 | 199737 | 123814 | 52336 | 23587 |
| JSON | 837 | 122224 | 122222 | 0 | 2 |
| SQL | 561 | 76728 | 49685 | 17220 | 9823 |
| Q | 1561 | 52926 | 41456 | 0 | 11470 |
| XML | 125 | 22336 | 20134 | 1727 | 475 |
| R | 98 | 36641 | 17564 | 15254 | 3823 |
| ReStructuredText | 86 | 12944 | 10022 | 0 | 2922 |
| JavaScript | 43 | 13671 | 7801 | 5217 | 653 |
| Protocol Buffers | 27 | 8272 | 4441 | 2509 | 1322 |
| Shell | 56 | 5619 | 3544 | 1409 | 666 |
Top language (Scala 62.4%). Generated at 2026-07-25T20:50:51.171712390+00:00.
Report FAQ
How many lines of code does apache/spark have?
apache/spark has 3,209,062 total lines, including 2,121,904 code lines, 720,413 comment lines, and 366,745 blank lines.
How was the apache/spark line count measured?
OctoCounts resolved the public GitHub repository to commit b910d6f4101c, 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 b910d6f4101c on 2026-07-25T20:50:51.171712390+00:00.