# ktorio/ktor SLOC report

> As of 2026-08-26 (commit 127a09a20267), ktorio/ktor contains 197,512 total lines: 115,169 code, 57,430 comments, 24,913 blank, across 1,945 files in 22 languages (top: Kotlin 91.2%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving ktorio/ktor to commit 127a09a20267, 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.3% of all lines, comments represent 29.1%, and the repository averages 59 code lines per file. Kotlin accounts for 91.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Kotlin | 1,792 | 173,489 | 105,065 | 45,228 | 23,196 |
| 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 | 287 | 222 | 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.2%). Generated at 2026-08-26T18:17:36.966545899+00:00. Canonical report: https://octocounts.com/github/ktorio/ktor

## Report FAQ

### How many lines of code does ktorio/ktor have?

ktorio/ktor has 197,512 total lines, including 115,169 code lines, 57,430 comment lines, and 24,913 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 127a09a20267, 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 main at commit 127a09a20267 on 2026-08-26T18:17:36.966545899+00:00.

## Similar repository reports

- [permissionlesstech/bitchat-android](https://octocounts.com/github/permissionlesstech/bitchat-android) — Kotlin, 110,768 code lines
- [CCBlueX/LiquidBounce](https://octocounts.com/github/CCBlueX/LiquidBounce) — Kotlin, 130,583 code lines
- [ciddwd/overlay-translator](https://octocounts.com/github/ciddwd/overlay-translator) — Kotlin, 94,833 code lines
- [OpenHub-Store/Github-Store](https://octocounts.com/github/OpenHub-Store/Github-Store) — Kotlin, 135,744 code lines
- [mihonapp/mihon](https://octocounts.com/github/mihonapp/mihon) — Kotlin, 136,744 code lines
- [kiwix/kiwix-android](https://octocounts.com/github/kiwix/kiwix-android) — Kotlin, 84,558 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
