# JetBrains/kotlin SLOC report

> 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](https://github.com/JetBrains/kotlin) · counted commit [a8f6896a2d6b](https://github.com/JetBrains/kotlin/tree/a8f6896a2d6b0351f1267ac08d15b3aedb1d70b1)

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.

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.

## 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.

## 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 | 53,674 | 2,726,388 | 1,899,749 | 401,479 | 425,160 |
| Java | 3,597 | 458,975 | 332,393 | 58,989 | 67,593 |
| Swift | 390 | 63,315 | 58,659 | 1,054 | 3,602 |
| JSON | 122 | 44,778 | 44,778 | 0 | 0 |
| C++ | 208 | 36,539 | 28,417 | 2,225 | 5,897 |
| C Header | 481 | 36,427 | 23,368 | 3,809 | 9,250 |
| XML | 248 | 22,231 | 21,340 | 155 | 736 |
| TypeScript | 270 | 19,310 | 17,487 | 972 | 851 |
| C++ Header | 139 | 14,974 | 10,149 | 1,786 | 3,039 |
| C | 38 | 13,129 | 9,668 | 1,648 | 1,813 |
| JavaScript | 359 | 7,613 | 6,434 | 255 | 924 |
| Module-Definition | 728 | 7,263 | 6,250 | 0 | 1,013 |
| Objective-C++ | 21 | 6,006 | 4,166 | 640 | 1,200 |
| Objective-C | 29 | 4,176 | 3,664 | 82 | 430 |
| Python | 9 | 3,778 | 3,071 | 166 | 541 |
| Protocol Buffers | 15 | 2,749 | 1,665 | 588 | 496 |
| Shell | 30 | 2,149 | 1,275 | 608 | 266 |
| Batch | 18 | 884 | 693 | 20 | 171 |
| Prolog | 14 | 903 | 654 | 115 | 134 |
| AsciiDoc | 1 | 833 | 632 | 4 | 197 |
| LLVM | 19 | 1,364 | 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 | 23,473 | 0 | 18,917 | 4,556 |
| Plain Text | 26,352 | 2,347,558 | 0 | 2,098,003 | 249,555 |

Top language: Kotlin 76.7%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/JetBrains/kotlin/commit/a8f6896a2d6b0351f1267ac08d15b3aedb1d70b1?reportId=f55eb6ec077b2fb21cad4cc56b12b0111f8656687e9f50159ad0e6739598c76a&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/JetBrains/kotlin/commit/a8f6896a2d6b0351f1267ac08d15b3aedb1d70b1?reportId=f55eb6ec077b2fb21cad4cc56b12b0111f8656687e9f50159ad0e6739598c76a&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## 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.

## Similar repository reports

- [vayun-mathur/Modern-Apps](https://octocounts.com/github/vayun-mathur/Modern-Apps) — Kotlin, 1,256,665 code lines
- [Kototoro-app/Kototoro](https://octocounts.com/github/Kototoro-app/Kototoro) — Kotlin, 1,065,235 code lines
- [umerov1999/Fenrir-for-VK](https://octocounts.com/github/umerov1999/Fenrir-for-VK) — Kotlin, 994,016 code lines
- [IacobIonut01/ReFra](https://octocounts.com/github/IacobIonut01/ReFra) — Kotlin, 742,691 code lines
- [MetrolistGroup/Metrolist](https://octocounts.com/github/MetrolistGroup/Metrolist) — Kotlin, 536,032 code lines
- [Droid-Deck/DroidDeck](https://octocounts.com/github/Droid-Deck/DroidDeck) — Kotlin, 491,612 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Swift vs Kotlin](https://octocounts.com/compare/swift-vs-kotlin)
- [React Native vs Flutter](https://octocounts.com/compare/react-native-vs-flutter)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
