JetBrains/kotlin
JetBrains/kotlin has 2,476,790 source lines of code out of 5,846,993 total lines across 87,109 files, counted with tokei from the master ref at commit a8f6896a2d6b on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
JetBrains/kotlin: 2,476,790 code lines at commit a8f6896a2d6b, counted with tokei-15.0.0 on 2026-11-24. Saved result f55eb6ec077b2fb21cad4cc56b12b0111f8656687e9f50159ad0e6739598c76a.
Source: JetBrains/kotlin on GitHub · counted commit a8f6896a2d6b
OctoCounts produced this report by resolving JetBrains/kotlin to commit a8f6896a2d6b, 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.
Repository size insights
This is a very large codebase by counted code lines. Code represents 42.4% of all lines, comments represent 44.3%, and the repository averages 28 code lines per file. Kotlin accounts for 76.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Kotlin | 53674 | 2726388 | 1899749 | 401479 | 425160 |
| Java | 3597 | 458975 | 332393 | 58989 | 67593 |
| Swift | 390 | 63315 | 58659 | 1054 | 3602 |
| JSON | 122 | 44778 | 44778 | 0 | 0 |
| C++ | 208 | 36539 | 28417 | 2225 | 5897 |
| C Header | 481 | 36427 | 23368 | 3809 | 9250 |
| XML | 248 | 22231 | 21340 | 155 | 736 |
| TypeScript | 270 | 19310 | 17487 | 972 | 851 |
| C++ Header | 139 | 14974 | 10149 | 1786 | 3039 |
| C | 38 | 13129 | 9668 | 1648 | 1813 |
| JavaScript | 359 | 7613 | 6434 | 255 | 924 |
| Module-Definition | 728 | 7263 | 6250 | 0 | 1013 |
| Objective-C++ | 21 | 6006 | 4166 | 640 | 1200 |
| Objective-C | 29 | 4176 | 3664 | 82 | 430 |
| Python | 9 | 3778 | 3071 | 166 | 541 |
| Protocol Buffers | 15 | 2749 | 1665 | 588 | 496 |
| Shell | 30 | 2149 | 1275 | 608 | 266 |
| Batch | 18 | 884 | 693 | 20 | 171 |
| Prolog | 14 | 903 | 654 | 115 | 134 |
| AsciiDoc | 1 | 833 | 632 | 4 | 197 |
| LLVM | 19 | 1364 | 602 | 572 | 190 |
| YAML | 2 | 305 | 266 | 14 | 25 |
| TOML | 6 | 316 | 265 | 22 | 29 |
| Autoconf | 46 | 245 | 241 | 0 | 4 |
| CSS | 1 | 247 | 209 | 0 | 38 |
| BASH | 14 | 394 | 186 | 134 | 74 |
| Dockerfile | 5 | 271 | 173 | 43 | 55 |
| Bitbake | 1 | 148 | 124 | 0 | 24 |
| SVG | 1 | 122 | 114 | 4 | 4 |
| CMake | 1 | 44 | 36 | 1 | 7 |
| Puppet | 1 | 47 | 30 | 12 | 5 |
| HTML | 2 | 26 | 21 | 3 | 2 |
| OCaml | 5 | 7 | 7 | 0 | 0 |
| Bazel | 2 | 4 | 2 | 0 | 2 |
| Snakemake | 2 | 2 | 2 | 0 | 0 |
| Markdown | 258 | 23473 | 0 | 18917 | 4556 |
| Plain Text | 26352 | 2347558 | 0 | 2098003 | 249555 |
Top language: Kotlin 76.7%. Generated on .
Counting rules and retention
JetBrains/kotlin: 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.
Reproduce this report
Report FAQ
How many lines of code does JetBrains/kotlin have?
JetBrains/kotlin has 2,476,790 lines of code, plus 2,592,320 comment lines and 777,883 blank lines, for 5,846,993 total lines at commit a8f6896a2d6b on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
How was the JetBrains/kotlin line count measured?
OctoCounts resolved the public GitHub repository to commit a8f6896a2d6b, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for JetBrains/kotlin?
This OctoCounts report was generated from master at commit a8f6896a2d6b on November 24, 2026.
Play the growth animation for JetBrains/kotlin on this page — 2,476,790 code lines across 37 languages, counted by tokei.