As of 2026-08-02 (commit d5559e6e1af8), apache/lucene contains 1,486,158 total lines: 972,892 code, 361,361 comments, 151,905 blank, across 6,454 files in 21 languages (top: Java 97.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/lucene to commit d5559e6e1af8, 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 65.5% of all lines, comments represent 24.3%, and the repository averages 151 code lines per file. Java accounts for 97.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 5991 | 1355537 | 947392 | 268267 | 139878 |
| Python | 28 | 12200 | 10342 | 641 | 1217 |
| HTML | 49 | 6889 | 5796 | 968 | 125 |
| XML | 29 | 3231 | 2693 | 524 | 14 |
| YAML | 15 | 2605 | 2430 | 101 | 74 |
| Perl | 7 | 1795 | 1397 | 281 | 117 |
| SVG | 3 | 599 | 593 | 0 | 6 |
| Shell | 7 | 985 | 531 | 360 | 94 |
| JSON | 33 | 270 | 270 | 0 | 0 |
| AsciiDoc | 5 | 422 | 246 | 64 | 112 |
| TOML | 3 | 288 | 231 | 46 | 11 |
| Groovy | 3 | 250 | 229 | 4 | 17 |
Top language (Java 97.4%). Generated at 2026-08-02T00:14:33.934067254+00:00.
apache/lucene has 1,486,158 total lines, including 972,892 code lines, 361,361 comment lines, and 151,905 blank lines.
OctoCounts resolved the public GitHub repository to commit d5559e6e1af8, 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 d5559e6e1af8 on 2026-08-02T00:14:33.934067254+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: