# JetBrains/kotlin SLOC report

> As of 2026-08-26 (commit 3a578d6e27ad), JetBrains/kotlin contains 5,653,114 total lines: 2,451,017 code, 2,454,437 comments, 747,660 blank, across 82,973 files in 34 languages (top: Kotlin 75.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

JetBrains/kotlin has 2,451,017 source lines of code out of 5,653,114 total lines across 82,973 files, counted from the master ref at commit 3a578d6e27ad by the OctoCounts tokei engine on 2026-08-26. 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 3a578d6e27ad, 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.4% of all lines, comments represent 43.4%, and the repository averages 30 code lines per file. Kotlin accounts for 75.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Kotlin | 51,376 | 2,658,609 | 1,860,978 | 384,247 | 413,384 |
| Java | 3,356 | 480,075 | 350,744 | 61,748 | 67,583 |
| JSON | 251 | 58,055 | 58,055 | 0 | 0 |
| Swift | 336 | 48,333 | 44,631 | 908 | 2,794 |
| C++ | 211 | 38,375 | 29,855 | 2,460 | 6,060 |
| XML | 271 | 23,177 | 22,180 | 170 | 827 |
| C Header | 457 | 32,391 | 20,637 | 3,922 | 7,832 |
| TypeScript | 221 | 18,306 | 16,554 | 927 | 825 |
| C++ Header | 139 | 14,973 | 10,149 | 1,785 | 3,039 |
| C | 37 | 13,126 | 9,665 | 1,648 | 1,813 |
| Module-Definition | 709 | 7,086 | 6,102 | 0 | 984 |
| JavaScript | 331 | 6,950 | 5,821 | 217 | 912 |

Top language (Kotlin 75.9%). Generated at 2026-08-26T18:19:24.776816660+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/3a578d6e27adfa75e29dcbc652fc72bacf20056b?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,653,114 total lines, including 2,451,017 code lines, 2,454,437 comment lines, and 747,660 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 3a578d6e27ad, 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 3a578d6e27ad on 2026-08-26T18:19:24.776816660+00:00.

## Similar repository reports

- [umerov1999/Fenrir-for-VK](https://octocounts.com/github/umerov1999/Fenrir-for-VK) — Kotlin, 901,893 code lines
- [wordpress-mobile/WordPress-Android](https://octocounts.com/github/wordpress-mobile/WordPress-Android) — Kotlin, 664,441 code lines
- [vayun-mathur/Modern-Apps](https://octocounts.com/github/vayun-mathur/Modern-Apps) — Kotlin, 646,552 code lines
- [simplex-chat/simplex-chat](https://octocounts.com/github/simplex-chat/simplex-chat) — Kotlin, 360,942 code lines
- [keiyoushi/extensions-source](https://octocounts.com/github/keiyoushi/extensions-source) — Kotlin, 352,424 code lines
- [monogram-android/monogram](https://octocounts.com/github/monogram-android/monogram) — Kotlin, 343,218 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)
