apache/solr SLOC report
As of 2026-07-25 (commit 86bd5203ae91), apache/solr contains 1,377,649 total lines: 578,972 code, 692,127 comments, 106,550 blank, across 5,706 files in 23 languages (top: Java 63.2%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 42.0% of all lines, comments represent 50.2%, and the repository averages 101 code lines per file. Java accounts for 63.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Java | 2911 | 540455 | 365890 | 115066 | 59499 |
| AsciiDoc | 244 | 89911 | 67194 | 4054 | 18663 |
| XML | 587 | 76054 | 53313 | 16685 | 6056 |
| JSON | 85 | 31647 | 31633 | 0 | 14 |
| JavaScript | 59 | 20877 | 16768 | 1907 | 2202 |
| CSS | 47 | 12024 | 9512 | 745 | 1767 |
| Kotlin | 183 | 13997 | 8108 | 4434 | 1455 |
| YAML | 768 | 8261 | 7852 | 312 | 97 |
| Python | 24 | 9825 | 7413 | 938 | 1474 |
| HTML | 63 | 6647 | 4711 | 1056 | 880 |
| Shell | 16 | 2783 | 1539 | 932 | 312 |
| BASH | 12 | 1999 | 1394 | 396 | 209 |
Top language (Java 63.2%). Generated at 2026-07-25T21:07:21.993621457+00:00.
Report FAQ
How many lines of code does apache/solr have?
apache/solr has 1,377,649 total lines, including 578,972 code lines, 692,127 comment lines, and 106,550 blank lines.
How was the apache/solr line count measured?
OctoCounts resolved the public GitHub repository to commit 86bd5203ae91, 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 86bd5203ae91 on 2026-07-25T21:07:21.993621457+00:00.