apache/druid has 875,253 source lines of code out of 1,231,773 total lines across 7,253 files, counted with tokei from the master ref at commit 3a71b1f60869 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
apache/druid: 875,253 code lines at commit 3a71b1f60869, counted with tokei-15.0.0 on 2026-11-16. Saved result 1f05579d5265fc8ffaec5d36cd8c18e7397ec076ff2cc1a9da381f0a837bcb22.
OctoCounts produced this report by resolving apache/druid to commit 3a71b1f60869, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a large codebase by counted code lines. Code represents 71.1% of all lines, comments represent 19.1%, and the repository averages 121 code lines per file. Java accounts for 76.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 6109 | 987962 | 672506 | 210381 | 105075 |
| JSON | 46 | 63578 | 63529 | 0 | 49 |
| TSX | 379 | 65643 | 53332 | 7054 | 5257 |
| TypeScript | 249 | 44673 | 35170 | 5748 | 3755 |
| XML | 109 | 24632 | 21069 | 2725 | 838 |
| YAML | 3 | 7848 | 6918 | 53 | 877 |
| Sass | 172 | 11291 | 6769 | 3014 | 1508 |
| VB6/VBA | 4 | 6107 | 5585 | 0 | 522 |
| Python | 23 | 4749 | 3449 | 565 | 735 |
| TeX | 3 | 2563 | 2129 | 131 | 303 |
| JavaScript | 13 | 1667 | 1243 | 287 | 137 |
| Shell | 32 | 2110 | 1128 | 693 | 289 |
| FreeMarker | 4 | 667 | 646 | 0 | 21 |
| R | 4 | 660 | 540 | 62 | 58 |
| BASH | 29 | 1132 | 446 | 534 | 152 |
| Batch | 1 | 189 | 165 | 0 | 24 |
| Dockerfile | 3 | 320 | 160 | 107 | 53 |
| Jupyter Notebooks | 1 | 201 | 135 | 50 | 16 |
| CSS | 3 | 185 | 115 | 53 | 17 |
| Protocol Buffers | 3 | 214 | 102 | 83 | 29 |
| Makefile | 3 | 47 | 34 | 0 | 13 |
| Go | 1 | 32 | 26 | 0 | 6 |
| HTML | 1 | 44 | 26 | 18 | 0 |
| Open Policy Agent | 1 | 54 | 20 | 25 | 9 |
| Forge Config | 1 | 16 | 7 | 6 | 3 |
| TOML | 2 | 42 | 4 | 36 | 2 |
| MDX | 2 | 51 | 0 | 45 | 6 |
| Markdown | 47 | 4514 | 0 | 3510 | 1004 |
| Plain Text | 5 | 582 | 0 | 546 | 36 |
Top language: Java 76.8%. Generated on .
apache/druid: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
apache/druid has 875,253 lines of code, plus 235,726 comment lines and 120,794 blank lines, for 1,231,773 total lines at commit 3a71b1f60869 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 3a71b1f60869, 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 3a71b1f60869 on November 16, 2026.
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 — 875,253 code lines across 29 languages, counted by tokei.