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.
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 | 1792 | 173489 | 105065 | 45228 | 23196 |
| JSON | 20 | 3641 | 3640 | 0 | 1 |
| C Header | 12 | 5980 | 3105 | 2061 | 814 |
| Rust | 8 | 1446 | 1263 | 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.
ktorio/ktor has 197,512 total lines, including 115,169 code lines, 57,430 comment lines, and 24,913 blank lines.
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.
This OctoCounts report was generated from main at commit 127a09a20267 on 2026-08-26T18:17:36.966545899+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: