apache/hadoop SLOC report

As of 2026-08-16 (commit a9cf9661145f), apache/hadoop contains 5,928,231 total lines: 4,616,669 code, 862,761 comments, 448,801 blank, across 15,983 files in 37 languages (top: XML 47.7%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apache/hadoop to commit a9cf9661145f, 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.

Repository size insights

This is a very large codebase by counted code lines. Code represents 77.9% of all lines, comments represent 14.6%, and the repository averages 289 code lines per file. XML accounts for 47.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
XML554226403722036622748732888
Java1257529776161992101648341337174
JSON10916616016615208
C147608704471590947061
JavaScript5165953141248122636020
C++237511533566386586832
C Header2635113227859168536420
TypeScript165343412581739624562
TSX147308412389531533793
CSS5214230126181027585
Protocol Buffers8112691100598871745
Shell10011756631939731464

Top language (XML 47.7%). Generated at 2026-08-16T06:20:05.276665981+00:00.

Report FAQ

How many lines of code does apache/hadoop have?

apache/hadoop has 5,928,231 total lines, including 4,616,669 code lines, 862,761 comment lines, and 448,801 blank lines.

How was the apache/hadoop line count measured?

OctoCounts resolved the public GitHub repository to commit a9cf9661145f, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for apache/hadoop?

This OctoCounts report was generated from trunk at commit a9cf9661145f on 2026-08-16T06:20:05.276665981+00:00.