apache/druid has 869,488 source lines of code out of 1,222,757 total lines across 7,219 files, counted from the master ref at commit 516fa088f4de by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-23 (commit 516fa088f4de), apache/druid contains 1,222,757 total lines: 869,488 code, 233,329 comments, 119,940 blank, across 7,219 files in 29 languages (top: Java 76.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/druid to commit 516fa088f4de, 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 71.1% of all lines, comments represent 19.1%, and the repository averages 120 code lines per file. Java accounts for 76.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 6090 | 982479 | 669011 | 208892 | 104576 |
| JSON | 45 | 63461 | 63412 | 0 | 49 |
| TSX | 378 | 65436 | 53172 | 7019 | 5245 |
| TypeScript | 241 | 42855 | 33953 | 5269 | 3633 |
| XML | 108 | 24374 | 20882 | 2662 | 830 |
| YAML | 3 | 7870 | 6945 | 53 | 872 |
| Sass | 172 | 11291 | 6769 | 3014 | 1508 |
| VB6/VBA | 4 | 6107 | 5585 | 0 | 522 |
| Python | 20 | 3927 | 2851 | 490 | 586 |
| TeX | 3 | 2563 | 2129 | 131 | 303 |
| JavaScript | 14 | 1697 | 1254 | 304 | 139 |
| Shell | 32 | 2110 | 1128 | 693 | 289 |
Top language (Java 76.9%). Generated at .
apache/druid has 1,222,757 total lines, including 869,488 code lines, 233,329 comment lines, and 119,940 blank lines.
OctoCounts resolved the public GitHub repository to commit 516fa088f4de, 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 master at commit 516fa088f4de on 2026-10-23T07:34:44.854802599+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for apache/druid on this page — 869,488 code lines across 12 languages, counted by tokei.