As of 2026-08-02 (commit 9f867dace15d), apache/flink contains 3,635,283 total lines: 2,495,277 code, 695,002 comments, 445,004 blank, across 19,095 files in 33 languages (top: Java 71.1%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/flink to commit 9f867dace15d, 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 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 | 14874 | 2647595 | 1774021 | 519260 | 354314 |
| Scala | 1018 | 277027 | 211184 | 36095 | 29748 |
| XML | 478 | 196465 | 182977 | 9714 | 3774 |
| JSON | 404 | 144027 | 144025 | 0 | 2 |
| Python | 324 | 84482 | 65514 | 6950 | 12018 |
| HTML | 266 | 29578 | 27579 | 1671 | 328 |
| SVG | 80 | 24263 | 22797 | 1361 | 105 |
| YAML | 32 | 12535 | 11375 | 810 | 350 |
| TypeScript | 162 | 14045 | 9835 | 2982 | 1228 |
| Shell | 139 | 15139 | 8815 | 3945 | 2379 |
| Q | 27 | 9308 | 8290 | 1 | 1017 |
| ReStructuredText | 88 | 9329 | 7100 | 0 | 2229 |
Top language (Java 71.1%). Generated at 2026-08-02T07:53:07.242158831+00:00.
apache/flink has 3,635,283 total lines, including 2,495,277 code lines, 695,002 comment lines, and 445,004 blank lines.
OctoCounts resolved the public GitHub repository to commit 9f867dace15d, 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 master at commit 9f867dace15d on 2026-08-02T07:53:07.242158831+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: