apache/solr SLOC report

As of 2026-08-02 (commit b47aacaec82b), apache/solr contains 1,831,345 total lines: 930,806 code, 742,890 comments, 157,649 blank, across 7,231 files in 23 languages (top: Java 76.9%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apache/solr to commit b47aacaec82b, 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 50.8% of all lines, comments represent 40.6%, and the repository averages 129 code lines per file. Java accounts for 76.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Java4389990376715703164725109948
AsciiDoc2448996667245405418667
XML5927631253476167566080
JSON853164731633014
JavaScript61209501681019382202
CSS521216795987811788
Kotlin18313998810844351455
Python2510604799510281581
YAML7738302789131398
HTML64701349991126888
Shell37399821981277523
BASH1321161466421229

Top language (Java 76.9%). Generated at 2026-08-02T05:56:40.578536601+00:00.

Report FAQ

How many lines of code does apache/solr have?

apache/solr has 1,831,345 total lines, including 930,806 code lines, 742,890 comment lines, and 157,649 blank lines.

How was the apache/solr line count measured?

OctoCounts resolved the public GitHub repository to commit b47aacaec82b, 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/solr?

This OctoCounts report was generated from main at commit b47aacaec82b on 2026-08-02T05:56:40.578536601+00:00.

Similar repository reports

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