# ktorio/ktor SLOC report

> As of 2026-09-16 (commit 37a29f9a84b9), ktorio/ktor contains 207,245 total lines: 120,238 code, 61,127 comments, 25,880 blank, across 2,000 files in 22 languages (top: Kotlin 91.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

ktorio/ktor has 120,238 source lines of code out of 207,245 total lines across 2,000 files, counted from the 37a29f9a84b96ed7391b7b4804e0469a8a0de8ee ref at commit 37a29f9a84b9 by the OctoCounts tokei engine on 2026-09-16. 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 ktorio/ktor to commit 37a29f9a84b9, 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 large codebase by counted code lines. Code represents 58.0% of all lines, comments represent 29.5%, and the repository averages 60 code lines per file. Kotlin accounts for 91.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Kotlin | 1,846 | 183,079 | 110,136 | 48,798 | 24,145 |
| JSON | 20 | 3,641 | 3,640 | 0 | 1 |
| C Header | 12 | 5,980 | 3,105 | 2,061 | 814 |
| Rust | 8 | 1,446 | 1,263 | 38 | 145 |
| YAML | 33 | 671 | 669 | 0 | 2 |
| Shell | 3 | 801 | 534 | 163 | 104 |
| Module-Definition | 10 | 299 | 255 | 0 | 44 |
| TOML | 2 | 285 | 220 | 4 | 61 |
| XML | 10 | 143 | 101 | 19 | 23 |
| Java | 1 | 104 | 84 | 1 | 19 |
| Batch | 1 | 82 | 64 | 0 | 18 |
| CMake | 6 | 84 | 60 | 11 | 13 |

Top language (Kotlin 91.6%). Generated at 2026-09-16T10:02:40.531414617+00:00. Canonical report: https://octocounts.com/github/ktorio/ktor

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ktorio/ktor/commit/37a29f9a84b96ed7391b7b4804e0469a8a0de8ee?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 ktorio/ktor have?

ktorio/ktor has 207,245 total lines, including 120,238 code lines, 61,127 comment lines, and 25,880 blank lines.

### How was the ktorio/ktor line count measured?

OctoCounts resolved the public GitHub repository to commit 37a29f9a84b9, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for ktorio/ktor?

This OctoCounts report was generated from 37a29f9a84b96ed7391b7b4804e0469a8a0de8ee at commit 37a29f9a84b9 on 2026-09-16T10:02:40.531414617+00:00.

## Similar repository reports

- [CCBlueX/LiquidBounce](https://octocounts.com/github/CCBlueX/LiquidBounce) — Kotlin, 130,228 code lines
- [mihonapp/mihon](https://octocounts.com/github/mihonapp/mihon) — Kotlin, 136,744 code lines
- [OpenHub-Store/Github-Store](https://octocounts.com/github/OpenHub-Store/Github-Store) — Kotlin, 140,608 code lines
- [bannedbook/fanqiang](https://octocounts.com/github/bannedbook/fanqiang) — Kotlin, 143,224 code lines
- [owenewans/owenclave](https://octocounts.com/github/owenewans/owenclave) — Kotlin, 88,187 code lines
- [ciddwd/overlay-translator](https://octocounts.com/github/ciddwd/overlay-translator) — Kotlin, 88,109 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)
