# JetBrains/kotlin SLOC report

> As of 2026-10-07 (commit b2df2415716b), JetBrains/kotlin contains 5,852,596 total lines: 2,544,176 code, 2,533,619 comments, 774,801 blank, across 85,813 files in 34 languages (top: Kotlin 76.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

JetBrains/kotlin has 2,544,176 source lines of code out of 5,852,596 total lines across 85,813 files, counted from the master ref at commit b2df2415716b by the OctoCounts tokei engine on 2026-10-07. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving JetBrains/kotlin to commit b2df2415716b, 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.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 43.5% of all lines, comments represent 43.3%, and the repository averages 30 code lines per file. Kotlin accounts for 76.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Kotlin | 53,063 | 2,772,000 | 1,942,183 | 399,723 | 430,094 |
| Java | 3,548 | 482,119 | 351,585 | 61,408 | 69,126 |
| JSON | 254 | 58,918 | 58,918 | 0 | 0 |
| Swift | 365 | 59,533 | 55,145 | 1,038 | 3,350 |
| C++ | 208 | 36,368 | 28,291 | 2,207 | 5,870 |
| C Header | 467 | 34,550 | 21,948 | 3,773 | 8,829 |
| XML | 251 | 21,857 | 20,965 | 155 | 737 |
| TypeScript | 261 | 18,920 | 17,133 | 950 | 837 |
| C++ Header | 139 | 14,973 | 10,149 | 1,785 | 3,039 |
| C | 38 | 13,129 | 9,668 | 1,648 | 1,813 |
| Module-Definition | 725 | 7,202 | 6,199 | 0 | 1,003 |
| JavaScript | 335 | 7,090 | 5,955 | 223 | 912 |

Top language (Kotlin 76.3%). Generated at 2026-10-07T20:54:26.566895479+00:00. Canonical report: https://octocounts.com/github/JetBrains/kotlin

## Reproduce this report

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

## Report FAQ

### How many lines of code does JetBrains/kotlin have?

JetBrains/kotlin has 5,852,596 total lines, including 2,544,176 code lines, 2,533,619 comment lines, and 774,801 blank lines.

### How was the JetBrains/kotlin line count measured?

OctoCounts resolved the public GitHub repository to commit b2df2415716b, 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 b2df2415716b on 2026-10-07T20:54:26.566895479+00:00.

## Similar repository reports

- [vayun-mathur/Modern-Apps](https://octocounts.com/github/vayun-mathur/Modern-Apps) — Kotlin, 1,077,492 code lines
- [umerov1999/Fenrir-for-VK](https://octocounts.com/github/umerov1999/Fenrir-for-VK) — Kotlin, 906,899 code lines
- [simplex-chat/simplex-chat](https://octocounts.com/github/simplex-chat/simplex-chat) — Kotlin, 361,268 code lines
- [keiyoushi/extensions-source](https://octocounts.com/github/keiyoushi/extensions-source) — Kotlin, 343,066 code lines
- [element-hq/element-x-android](https://octocounts.com/github/element-hq/element-x-android) — Kotlin, 281,633 code lines
- [komikku-app/anikku](https://octocounts.com/github/komikku-app/anikku) — Kotlin, 252,687 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)
- [React Native vs Flutter](https://octocounts.com/compare/react-native-vs-flutter)
- [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)
