Kotlin/kotlinx.serialization has 114,464 source lines of code out of 141,202 total lines across 1,002 files, counted with tokei from the master ref at commit 99172ab9ff06 on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
Kotlin/kotlinx.serialization: 114,464 code lines at commit 99172ab9ff06, counted with tokei-15.0.0 on 2026-11-12. Saved result fa0c034598a1b8178f65ae366a6bcf7c1c7620800b77e40f6baa9e968796a05d.
OctoCounts produced this report by resolving Kotlin/kotlinx.serialization to commit 99172ab9ff06, 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 81.1% of all lines, comments represent 11.0%, and the repository averages 114 code lines per file. Kotlin is the largest programming language at 41.1% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 252 | 66207 | 66206 | 0 | 1 |
| Kotlin | 675 | 67018 | 47006 | 10693 | 9319 |
| Protocol Buffers | 19 | 1057 | 707 | 201 | 149 |
| Shell | 2 | 496 | 206 | 238 | 52 |
| Batch | 2 | 164 | 128 | 0 | 36 |
| Prolog | 2 | 75 | 65 | 0 | 10 |
| TOML | 1 | 64 | 60 | 0 | 4 |
| Java | 6 | 43 | 37 | 0 | 6 |
| SVG | 2 | 25 | 25 | 0 | 0 |
| Forge Config | 1 | 15 | 14 | 0 | 1 |
| XML | 1 | 11 | 10 | 0 | 1 |
| Markdown | 24 | 5371 | 0 | 3776 | 1595 |
| Plain Text | 15 | 656 | 0 | 623 | 33 |
Top programming language: Kotlin 41.1%. Generated on .
Kotlin/kotlinx.serialization: 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.
Kotlin/kotlinx.serialization has 114,464 lines of code, plus 15,531 comment lines and 11,207 blank lines, for 141,202 total lines at commit 99172ab9ff06 on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 99172ab9ff06, 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 master at commit 99172ab9ff06 on November 12, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for Kotlin/kotlinx.serialization on this page — 114,464 code lines across 13 languages, counted by tokei.