keycloak/keycloak has 591,022 source lines of code out of 878,646 total lines across 7,575 files, counted from the main ref at commit 372cbab5c3bb by the OctoCounts tokei engine on 2026-10-14. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-14 (commit 372cbab5c3bb), keycloak/keycloak contains 878,646 total lines: 591,022 code, 161,229 comments, 126,395 blank, across 7,575 files in 20 languages (top: Java 76.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving keycloak/keycloak to commit 372cbab5c3bb, 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 large codebase by counted code lines. Code represents 67.3% of all lines, comments represent 18.3%, and the repository averages 78 code lines per file. Java accounts for 76.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 5904 | 716612 | 451780 | 152162 | 112670 |
| TSX | 630 | 87644 | 81605 | 531 | 5508 |
| XML | 291 | 27814 | 22027 | 4012 | 1775 |
| TypeScript | 226 | 12644 | 10385 | 909 | 1350 |
| YAML | 8 | 9671 | 7638 | 0 | 2033 |
| FreeMarker | 141 | 6476 | 5932 | 14 | 530 |
| JSON | 35 | 4416 | 4385 | 0 | 31 |
| SVG | 123 | 1760 | 1740 | 4 | 16 |
| CSS | 55 | 2003 | 1631 | 31 | 341 |
| JavaScript | 54 | 2008 | 1539 | 183 | 286 |
| Shell | 37 | 1866 | 1351 | 207 | 308 |
| XSL | 8 | 574 | 377 | 130 | 67 |
Top language (Java 76.4%). Generated at .
keycloak/keycloak has 878,646 total lines, including 591,022 code lines, 161,229 comment lines, and 126,395 blank lines.
OctoCounts resolved the public GitHub repository to commit 372cbab5c3bb, 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 main at commit 372cbab5c3bb on 2026-10-14T11:12:41.180748863+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for keycloak/keycloak on this page — 591,022 code lines across 12 languages, counted by tokei.