apache/hadoop has 3,464,154 source lines of code out of 4,399,552 total lines across 10,922 files, counted from the trunk ref at commit 35bbaa10e886 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
apache/hadoop: 3,464,154 code lines at commit 35bbaa10e886, counted with tokei-14.0.0 on 2026-10-22. Saved result ac1feb78ec75ff6d903cea25a3973b07abea1f899f1f23cc27df2058d3967926.
OctoCounts produced this report by resolving apache/hadoop to commit 35bbaa10e886, 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 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. XML accounts for 62.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| XML | 412 | 2220945 | 2164596 | 24882 | 31467 |
| Java | 8169 | 1676664 | 1046661 | 448241 | 181762 |
| C | 140 | 57380 | 41942 | 8762 | 6676 |
| JavaScript | 345 | 51733 | 37400 | 9063 | 5270 |
| JSON | 25 | 30839 | 30837 | 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 |
| Apache Velocity | 14 | 5327 | 4574 | 0 | 753 |
| Handlebars | 91 | 5667 | 3760 | 1658 | 249 |
| C++ Header | 9 | 4989 | 3529 | 890 | 570 |
| HTML | 50 | 4319 | 3113 | 795 | 411 |
| Batch | 24 | 2589 | 2169 | 0 | 420 |
| BASH | 17 | 2805 | 1971 | 495 | 339 |
| CMake | 62 | 3431 | 1776 | 1284 | 371 |
| SQL | 19 | 2326 | 1513 | 382 | 431 |
| Sass | 8 | 1138 | 799 | 164 | 175 |
| YAML | 2 | 786 | 745 | 31 | 10 |
| Visual Studio Project | 3 | 573 | 515 | 52 | 6 |
| Python | 4 | 593 | 403 | 98 | 92 |
| XSL | 9 | 520 | 350 | 147 | 23 |
| TeX | 1 | 370 | 303 | 15 | 52 |
| SVG | 2 | 296 | 296 | 0 | 0 |
| Visual Studio Solution | 2 | 103 | 97 | 0 | 6 |
| PowerShell | 2 | 98 | 49 | 35 | 14 |
| Monkey C | 1 | 64 | 33 | 16 | 15 |
| MSBuild | 1 | 47 | 28 | 16 | 3 |
| Dockerfile | 2 | 63 | 24 | 29 | 10 |
| Makefile | 1 | 20 | 14 | 0 | 6 |
| Forge Config | 1 | 34 | 5 | 25 | 4 |
| Markdown | 540 | 149854 | 0 | 115022 | 34832 |
| Plain Text | 111 | 4849 | 0 | 3933 | 916 |
Top language (XML 62.5%). Generated at .
apache/hadoop has 4,399,552 total lines, including 3,464,154 code lines, 650,006 comment lines, and 285,392 blank lines.
OctoCounts resolved the public GitHub repository to commit 35bbaa10e886, 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 35bbaa10e886 on 2026-10-22T05:57:26.254590946Z.
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,464,154 code lines across 36 languages, counted by tokei.