apache/spark SLOC report

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Scala351592119056931125451897361
Python5833187692706621748030627
Java1008137563775754442915559
JSON22335823357903
XML5614090120821568440
R672682410421140532350
JavaScript321277472644946564
Protocol Buffers187572385124981223
Shell48539234801271641
CSS1216321230148254
BASH3923181094880344
Dockerfile161082587347148

Top language (Scala 57.3%). Generated at 2026-08-26T13:10:09.563430851+00:00.

Report FAQ

How many lines of code does apache/spark have?

apache/spark has 1,539,375 total lines, including 992,855 code lines, 389,196 comment lines, and 157,324 blank lines.

How was the apache/spark line count measured?

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.

What commit was counted for apache/spark?

This OctoCounts report was generated from master at commit af71469706e7 on 2026-08-26T13:10:09.563430851+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: