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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 4389 | 990376 | 715703 | 164725 | 109948 |
| AsciiDoc | 244 | 89966 | 67245 | 4054 | 18667 |
| XML | 592 | 76312 | 53476 | 16756 | 6080 |
| JSON | 85 | 31647 | 31633 | 0 | 14 |
| JavaScript | 61 | 20950 | 16810 | 1938 | 2202 |
| CSS | 52 | 12167 | 9598 | 781 | 1788 |
| Kotlin | 183 | 13998 | 8108 | 4435 | 1455 |
| Python | 25 | 10604 | 7995 | 1028 | 1581 |
| YAML | 773 | 8302 | 7891 | 313 | 98 |
| HTML | 64 | 7013 | 4999 | 1126 | 888 |
| Shell | 37 | 3998 | 2198 | 1277 | 523 |
| BASH | 13 | 2116 | 1466 | 421 | 229 |
Top language (Java 76.9%). Generated at 2026-08-02T05:56:40.578536601+00:00.
apache/solr has 1,831,345 total lines, including 930,806 code lines, 742,890 comment lines, and 157,649 blank lines.
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.
This OctoCounts report was generated from main at commit b47aacaec82b on 2026-08-02T05:56:40.578536601+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: