# ktorio/ktor SLOC report

> ktorio/ktor: 122,169 code lines at commit 72c0a8ae4c48, counted with tokei-15.0.0 on 2026-11-24. Saved result acfcc997d71229055a33db267c487ddff3fbb86a0841b9dc446df532d2a1b48d.

Source: [ktorio/ktor on GitHub](https://github.com/ktorio/ktor) · counted commit [72c0a8ae4c48](https://github.com/ktorio/ktor/tree/72c0a8ae4c482049b4146ab974b66ddd9250c7b7)

ktorio/ktor has 122,169 source lines of code out of 210,464 total lines across 2,014 files, counted with tokei from the main ref at commit 72c0a8ae4c48 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving ktorio/ktor to commit 72c0a8ae4c48, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

ktorio/ktor: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## 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 61 code lines per file. Kotlin accounts for 91.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Kotlin | 1,857 | 186,009 | 112,033 | 49,536 | 24,440 |
| JSON | 20 | 3,654 | 3,653 | 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 | 284 | 220 | 3 | 61 |
| XML | 11 | 157 | 111 | 22 | 24 |
| Java | 1 | 104 | 84 | 1 | 19 |
| Batch | 1 | 112 | 73 | 20 | 19 |
| CMake | 6 | 84 | 60 | 11 | 13 |
| JavaScript | 3 | 52 | 40 | 8 | 4 |
| Python | 1 | 41 | 26 | 2 | 13 |
| HTML | 8 | 18 | 18 | 0 | 0 |
| Prolog | 1 | 12 | 9 | 0 | 3 |
| SVG | 2 | 9 | 9 | 0 | 0 |
| Mustache | 2 | 4 | 4 | 0 | 0 |
| Handlebars | 1 | 1 | 1 | 0 | 0 |
| CSS | 1 | 0 | 0 | 0 | 0 |
| Markdown | 12 | 3,910 | 0 | 3,406 | 504 |
| Plain Text | 18 | 6,814 | 0 | 6,814 | 0 |

Top language: Kotlin 91.7%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/ktorio/ktor/commit/72c0a8ae4c482049b4146ab974b66ddd9250c7b7?reportId=acfcc997d71229055a33db267c487ddff3fbb86a0841b9dc446df532d2a1b48d&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ktorio/ktor/commit/72c0a8ae4c482049b4146ab974b66ddd9250c7b7?reportId=acfcc997d71229055a33db267c487ddff3fbb86a0841b9dc446df532d2a1b48d&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

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

ktorio/ktor has 122,169 lines of code, plus 62,085 comment lines and 26,210 blank lines, for 210,464 total lines at commit 72c0a8ae4c48 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 72c0a8ae4c48, 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 72c0a8ae4c48 on November 24, 2026.

## Similar repository reports

- [shihabal3amri/DiPlay](https://octocounts.com/github/shihabal3amri/DiPlay) — Kotlin, 119,120 code lines
- [ciddwd/overlay-translator](https://octocounts.com/github/ciddwd/overlay-translator) — Kotlin, 131,423 code lines
- [ThousandsOfMiles/Mika](https://octocounts.com/github/ThousandsOfMiles/Mika) — Kotlin, 133,666 code lines
- [thejaustin/ShizukuPlus](https://octocounts.com/github/thejaustin/ShizukuPlus) — Kotlin, 134,350 code lines
- [yairm210/Unciv](https://octocounts.com/github/yairm210/Unciv) — Kotlin, 135,412 code lines
- [CluvexStudio/ZedSecure](https://octocounts.com/github/CluvexStudio/ZedSecure) — Kotlin, 109,653 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Ktor vs Spring Boot](https://octocounts.com/compare/ktor-vs-spring-boot)
- [React Native vs Flutter](https://octocounts.com/compare/react-native-vs-flutter)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
