apache/hive has 947,111 source lines of code out of 1,442,024 total lines across 7,092 files, counted with tokei from the master ref at commit b828b70e67f4 on November 18, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-18 (commit b828b70e67f4), apache/hive contains 1,442,024 total lines: 947,111 code, 331,176 comments, 163,737 blank, across 7,092 files in 26 languages (top language: Java 86.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/hive to commit b828b70e67f4, 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 65.7% of all lines, comments represent 23.0%, and the repository averages 134 code lines per file. Java accounts for 86.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 6219 | 1222059 | 816348 | 267342 | 138369 |
| SQL | 203 | 98983 | 70635 | 10457 | 17891 |
| XML | 138 | 33093 | 29140 | 3168 | 785 |
| Python | 45 | 8817 | 6297 | 1143 | 1377 |
| Shell | 87 | 7524 | 4591 | 1967 | 966 |
| PHP | 15 | 5569 | 4067 | 926 | 576 |
| Thrift | 5 | 5164 | 3463 | 920 | 781 |
| Protocol Buffers | 5 | 4023 | 3335 | 21 | 667 |
| YAML | 29 | 3252 | 2656 | 473 | 123 |
| JavaScript | 11 | 3394 | 2236 | 478 | 680 |
| C++ | 2 | 1384 | 1163 | 62 | 159 |
| C | 1 | 1178 | 856 | 99 | 223 |
Top language: Java 86.2%. Generated on .
apache/hive: 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/hive has 947,111 lines of code, plus 331,176 comment lines and 163,737 blank lines, for 1,442,024 total lines at commit b828b70e67f4 on November 18, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit b828b70e67f4, 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 b828b70e67f4 on November 18, 2026.
Play the growth animation for apache/hive on this page — 947,111 code lines across 26 languages, counted by tokei.