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.
As of 2026-11-16 (commit cc3d345bc201), ktorio/ktor contains 210,010 total lines: 121,803 code, 62,034 comments, 26,173 blank, across 2,011 files in 22 languages (top language: Kotlin 91.7%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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.
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 | 1855 | 185606 | 111686 | 49513 | 24407 |
| JSON | 20 | 3654 | 3653 | 0 | 1 |
| C Header | 12 | 5980 | 3105 | 2061 | 814 |
| Rust | 8 | 1446 | 1263 | 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.7%. Generated on .
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.
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.
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.
This OctoCounts report was generated from main at commit cc3d345bc201 on November 16, 2026.
Play the growth animation for ktorio/ktor on this page — 121,803 code lines across 22 languages, counted by tokei.