apache/flink has 1,165,821 source lines of code out of 1,818,175 total lines across 11,364 files, counted with tokei from the master ref at commit ddc060f0fbf0 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-20 (commit ddc060f0fbf0), apache/flink contains 1,818,175 total lines: 1,165,821 code, 431,245 comments, 221,109 blank, across 11,364 files in 26 languages (top language: Java 81.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/flink to commit ddc060f0fbf0, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a very large codebase by counted code lines. Code represents 64.1% of all lines, comments represent 23.7%, and the repository averages 103 code lines per file. Java accounts for 81.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 9615 | 1521828 | 947330 | 383323 | 191175 |
| Scala | 516 | 103140 | 71322 | 21720 | 10098 |
| Python | 248 | 75375 | 60356 | 5443 | 9576 |
| XML | 206 | 33148 | 25077 | 5288 | 2783 |
| TypeScript | 236 | 22525 | 15550 | 4444 | 2531 |
| JSON | 8 | 14449 | 14449 | 0 | 0 |
| Shell | 133 | 15002 | 8773 | 3857 | 2372 |
| HTML | 80 | 7094 | 5613 | 1359 | 122 |
| SQL | 130 | 5408 | 5038 | 248 | 122 |
| FreeMarker | 2 | 4015 | 3775 | 50 | 190 |
| Cython | 14 | 3552 | 2693 | 341 | 518 |
| LESS | 83 | 3989 | 2117 | 1419 | 453 |
Top language: Java 81.3%. Generated on .
apache/flink: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
apache/flink has 1,165,821 lines of code, plus 431,245 comment lines and 221,109 blank lines, for 1,818,175 total lines at commit ddc060f0fbf0 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit ddc060f0fbf0, 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 ddc060f0fbf0 on November 20, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for apache/flink on this page — 1,165,821 code lines across 26 languages, counted by tokei.