apache/flink SLOC report
As of 2026-07-25 (commit 9485109a4e1e), apache/flink contains 3,625,945 total lines: 2,488,629 code, 693,429 comments, 443,887 blank, across 19,051 files in 33 languages (top: Java 71.1%). Counted with tokei via OctoCounts.
Repository size insights
This is a very large codebase by counted code lines. Code represents 68.6% of all lines, comments represent 19.1%, and the repository averages 131 code lines per file. Java accounts for 71.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Java | 14851 | 2641057 | 1769297 | 518148 | 353612 |
| Scala | 1017 | 276957 | 211175 | 36040 | 29742 |
| XML | 478 | 196427 | 182954 | 9701 | 3772 |
| JSON | 403 | 143901 | 143899 | 0 | 2 |
| Python | 314 | 82585 | 64044 | 6776 | 11765 |
| HTML | 265 | 29560 | 27561 | 1671 | 328 |
| SVG | 80 | 24263 | 22797 | 1361 | 105 |
| YAML | 32 | 12535 | 11375 | 810 | 350 |
| TypeScript | 162 | 14000 | 9797 | 2979 | 1224 |
| Shell | 138 | 15002 | 8741 | 3898 | 2363 |
| Q | 27 | 9308 | 8290 | 1 | 1017 |
| ReStructuredText | 83 | 9109 | 6934 | 0 | 2175 |
Top language (Java 71.1%). Generated at 2026-07-25T21:08:19.917674070+00:00.
Report FAQ
How many lines of code does apache/flink have?
apache/flink has 3,625,945 total lines, including 2,488,629 code lines, 693,429 comment lines, and 443,887 blank lines.
How was the apache/flink line count measured?
OctoCounts resolved the public GitHub repository to commit 9485109a4e1e, 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/flink?
This OctoCounts report was generated from master at commit 9485109a4e1e on 2026-07-25T21:08:19.917674070+00:00.