# ktorio/ktor SLOC report

> As of 2026-10-06 (commit f76c50da18f6), ktorio/ktor contains 207,674 total lines: 120,394 code, 61,349 comments, 25,931 blank, across 2,005 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,394 source lines of code out of 207,674 total lines across 2,005 files, counted from the main ref at commit f76c50da18f6 by the OctoCounts tokei engine on 2026-10-06. 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 f76c50da18f6, 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,849 | 183,322 | 110,290 | 48,863 | 24,169 |
| 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 | 34 | 673 | 671 | 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-10-06T18:43:20.863931147+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/f76c50da18f6b284ce4ae7b4e84bed4c9aea5ce0?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,674 total lines, including 120,394 code lines, 61,349 comment lines, and 25,931 blank lines.

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

OctoCounts resolved the public GitHub repository to commit f76c50da18f6, 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 f76c50da18f6 on 2026-10-06T18:43:20.863931147+00:00.

## Similar repository reports

- [mlm-games/Mages](https://octocounts.com/github/mlm-games/Mages) — Kotlin, 122,316 code lines
- [teidesu/inugram](https://octocounts.com/github/teidesu/inugram) — Kotlin, 125,190 code lines
- [yairm210/Unciv](https://octocounts.com/github/yairm210/Unciv) — Kotlin, 130,467 code lines
- [compose-miuix-ui/miuix](https://octocounts.com/github/compose-miuix-ui/miuix) — Kotlin, 132,578 code lines
- [ciddwd/overlay-translator](https://octocounts.com/github/ciddwd/overlay-translator) — Kotlin, 108,362 code lines
- [CCBlueX/LiquidBounce](https://octocounts.com/github/CCBlueX/LiquidBounce) — Kotlin, 134,145 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)
