apache/hadoop has 3,466,718 source lines of code out of 4,403,243 total lines across 10,931 files, counted with tokei from the trunk ref at commit d03eda317a27 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit d03eda317a27), apache/hadoop contains 4,403,243 total lines: 3,466,718 code, 650,896 comments, 285,629 blank, across 10,931 files in 36 languages (top programming language: Java 30.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/hadoop to commit d03eda317a27, 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 very large codebase by counted code lines. Code represents 78.7% of all lines, comments represent 14.8%, and the repository averages 317 code lines per file. Java is the largest programming language at 30.3% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| XML | 412 | 2220942 | 2164594 | 24882 | 31466 |
| Java | 8178 | 1680093 | 1048994 | 449104 | 181995 |
| C | 140 | 57380 | 41942 | 8762 | 6676 |
| JavaScript | 345 | 51733 | 37400 | 9063 | 5270 |
| JSON | 25 | 31066 | 31064 | 0 | 2 |
| C Header | 223 | 47781 | 26198 | 15636 | 5947 |
| C++ | 141 | 35652 | 24566 | 6367 | 4719 |
| TSX | 139 | 27094 | 20945 | 2964 | 3185 |
| TypeScript | 141 | 23188 | 16741 | 3438 | 3009 |
| CSS | 51 | 14209 | 12618 | 1006 | 585 |
| Protocol Buffers | 73 | 12150 | 9593 | 887 | 1670 |
| Shell | 87 | 11056 | 5991 | 3673 | 1392 |
Top programming language: Java 30.3%. Generated on .
apache/hadoop: 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/hadoop has 3,466,718 lines of code, plus 650,896 comment lines and 285,629 blank lines, for 4,403,243 total lines at commit d03eda317a27 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit d03eda317a27, 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 trunk at commit d03eda317a27 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/hadoop on this page — 3,466,718 code lines across 36 languages, counted by tokei.