apache/kafka SLOC report
As of 2026-07-25 (commit a1d9d8a51756), apache/kafka contains 1,762,459 total lines: 1,232,153 code, 300,562 comments, 229,744 blank, across 7,188 files in 17 languages (top: Java 88.0%). Counted with tokei via OctoCounts.
Repository size insights
This is a very large codebase by counted code lines. Code represents 69.9% of all lines, comments represent 17.1%, and the repository averages 171 code lines per file. Java accounts for 88.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Java | 6109 | 1533292 | 1083836 | 252865 | 196591 |
| Scala | 265 | 135164 | 102384 | 15989 | 16791 |
| Python | 174 | 28718 | 20882 | 3645 | 4191 |
| JSON | 304 | 16669 | 16338 | 0 | 331 |
| XML | 27 | 3649 | 2565 | 711 | 373 |
| YAML | 51 | 3167 | 2184 | 754 | 229 |
| Shell | 61 | 2817 | 1341 | 1173 | 303 |
| BASH | 11 | 1403 | 937 | 297 | 169 |
| Batch | 36 | 880 | 802 | 0 | 78 |
| SVG | 2 | 434 | 428 | 0 | 6 |
| Dockerfile | 4 | 450 | 276 | 96 | 78 |
| XSL | 1 | 206 | 153 | 27 | 26 |
Top language (Java 88.0%). Generated at 2026-07-25T21:01:44.142641088+00:00.
Report FAQ
How many lines of code does apache/kafka have?
apache/kafka has 1,762,459 total lines, including 1,232,153 code lines, 300,562 comment lines, and 229,744 blank lines.
How was the apache/kafka line count measured?
OctoCounts resolved the public GitHub repository to commit a1d9d8a51756, 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 a1d9d8a51756 on 2026-07-25T21:01:44.142641088+00:00.