apache/kafka SLOC report

As of 2026-08-26 (commit 20d81283e880), apache/kafka contains 757,461 total lines: 480,371 code, 192,712 comments, 84,378 blank, across 4,465 files in 14 languages (top: Java 90.5%). Counted with tokei via OctoCounts.

As of 2026-08-26 (commit 20d81283e880), apache/kafka contains 757,461 total lines: 480,371 code, 192,712 comments, 84,378 blank, across 4,465 files in 14 languages (top: Java 90.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apache/kafka to commit 20d81283e880, 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 large codebase by counted code lines. Code represents 63.4% of all lines, comments represent 25.4%, and the repository averages 108 code lines per file. Java accounts for 90.5% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Java389469531243468318171278917
Scala77302632083263763055
JSON29416266159480318
Python2436952607488600
XML2736892591720378
Shell59262012061138276
YAML161321101225950
Batch37901821080
BASH1061032819686
Dockerfile32861745854
XSL12061532726
HTML37216542

Top language (Java 90.5%). Generated at .

Report FAQ

How many lines of code does apache/kafka have?

apache/kafka has 757,461 total lines, including 480,371 code lines, 192,712 comment lines, and 84,378 blank lines.

How was the apache/kafka line count measured?

OctoCounts resolved the public GitHub repository to commit 20d81283e880, 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/kafka?

This OctoCounts report was generated from trunk at commit 20d81283e880 on 2026-08-26T18:20:24.225170519+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: