# Kotlin/kotlinx.serialization SLOC report

> Kotlin/kotlinx.serialization: 114,464 code lines at commit 99172ab9ff06, counted with tokei-15.0.0 on 2026-11-12. Saved result fa0c034598a1b8178f65ae366a6bcf7c1c7620800b77e40f6baa9e968796a05d.

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.

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.

## 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.

## 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.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 252 | 66,207 | 66,206 | 0 | 1 |
| Kotlin | 675 | 67,018 | 47,006 | 10,693 | 9,319 |
| Protocol Buffers | 19 | 1,057 | 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 | 5,371 | 0 | 3,776 | 1,595 |
| Plain Text | 15 | 656 | 0 | 623 | 33 |

Top programming language: Kotlin 41.1%. Generated on November 12, 2026. Canonical report: https://octocounts.com/github/Kotlin/kotlinx.serialization/commit/99172ab9ff063e16466226bbeb9a5d00703bbf41?reportId=fa0c034598a1b8178f65ae366a6bcf7c1c7620800b77e40f6baa9e968796a05d&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/Kotlin/kotlinx.serialization/commit/99172ab9ff063e16466226bbeb9a5d00703bbf41?reportId=fa0c034598a1b8178f65ae366a6bcf7c1c7620800b77e40f6baa9e968796a05d&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 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.

## Similar repository reports

- [daijro/camoufox](https://octocounts.com/github/daijro/camoufox) — JSON, 114,554 code lines
- [ArHanXing/CmRhPack](https://octocounts.com/github/ArHanXing/CmRhPack) — JSON, 116,817 code lines
- [Kentucky-ai/opentakeoff](https://octocounts.com/github/Kentucky-ai/opentakeoff) — JSON, 117,973 code lines
- [TianLin0509/ai-arena-extension](https://octocounts.com/github/TianLin0509/ai-arena-extension) — JSON, 110,866 code lines
- [zotero-chinese/styles](https://octocounts.com/github/zotero-chinese/styles) — JSON, 110,604 code lines
- [kevintngo/looseleaf](https://octocounts.com/github/kevintngo/looseleaf) — JSON, 119,201 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)
- [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)
