Kotlin/kotlinx.serialization

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.

As of 2026-11-12 (commit 99172ab9ff06), Kotlin/kotlinx.serialization contains 141,202 total lines: 114,464 code, 15,531 comments, 11,207 blank, across 1,002 files in 13 languages (top programming language: Kotlin 41.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-12 (commit 99172ab9ff06), Kotlin/kotlinx.serialization contains 141,202 total lines: 114,464 code, 15,531 comments, 11,207 blank, across 1,002 files in 13 languages (top programming language: Kotlin 41.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
JSON252662076620601
Kotlin6756701847006106939319
Protocol Buffers191057707201149
Shell249620623852
Batch2164128036
Prolog27565010
TOML1646004
Java6433706
SVG2252500
Forge Config1151401
XML1111001
Markdown245371037761595

Top programming language: Kotlin 41.1%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does Kotlin/kotlinx.serialization have?

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.

How was the Kotlin/kotlinx.serialization line count measured?

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.

What commit was counted for Kotlin/kotlinx.serialization?

This OctoCounts report was generated from master at commit 99172ab9ff06 on November 12, 2026.

Play the growth animation for Kotlin/kotlinx.serialization on this page — 114,464 code lines across 13 languages, counted by tokei.