# ktorio/ktor SLOC report

> ktorio/ktor: 121,803 code lines at commit cc3d345bc201, counted with tokei-15.0.0 on 2026-11-16. Saved result 244086ac18d4485d2e2f9a09be6d3257cc8c69f35d69b7b41fae22acf8adfc49.

ktorio/ktor has 121,803 source lines of code out of 210,010 total lines across 2,011 files, counted with tokei from the main ref at commit cc3d345bc201 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving ktorio/ktor to commit cc3d345bc201, 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,855 | 185,606 | 111,686 | 49,513 | 24,407 |
| 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 | 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 |
| 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,902 | 0 | 3,400 | 502 |
| Plain Text | 18 | 6,814 | 0 | 6,814 | 0 |

Top language: Kotlin 91.7%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/ktorio/ktor/commit/cc3d345bc2013d91f394d4d7d7062d647374d711?reportId=244086ac18d4485d2e2f9a09be6d3257cc8c69f35d69b7b41fae22acf8adfc49&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/cc3d345bc2013d91f394d4d7d7062d647374d711?reportId=244086ac18d4485d2e2f9a09be6d3257cc8c69f35d69b7b41fae22acf8adfc49&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 121,803 lines of code, plus 62,034 comment lines and 26,173 blank lines, for 210,010 total lines at commit cc3d345bc201 on November 16, 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 cc3d345bc201, 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 cc3d345bc201 on November 16, 2026.

## Similar repository reports

- [thejaustin/ShizukuPlus](https://octocounts.com/github/thejaustin/ShizukuPlus) — Kotlin, 130,304 code lines
- [chrisbanes/haze](https://octocounts.com/github/chrisbanes/haze) — Kotlin, 130,702 code lines
- [ciddwd/overlay-translator](https://octocounts.com/github/ciddwd/overlay-translator) — Kotlin, 131,423 code lines
- [MeiloX/MeiloX](https://octocounts.com/github/MeiloX/MeiloX) — Kotlin, 132,759 code lines
- [ThousandsOfMiles/Mika](https://octocounts.com/github/ThousandsOfMiles/Mika) — Kotlin, 133,666 code lines
- [Mangi-11/Eta](https://octocounts.com/github/Mangi-11/Eta) — Kotlin, 135,011 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)
- [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)
