# koreader/koreader SLOC report

> As of 2026-10-07 (commit 22ea2320c56d), koreader/koreader contains 243,391 total lines: 203,242 code, 24,428 comments, 15,721 blank, across 887 files in 14 languages (top: Lua 91.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

koreader/koreader has 203,242 source lines of code out of 243,391 total lines across 887 files, counted from the master ref at commit 22ea2320c56d by the OctoCounts tokei engine on 2026-10-07. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving koreader/koreader to commit 22ea2320c56d, 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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 83.5% of all lines, comments represent 10.0%, and the repository averages 229 code lines per file. Lua accounts for 91.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Lua | 587 | 223,231 | 186,463 | 22,400 | 14,368 |
| SVG | 130 | 9,499 | 9,175 | 1 | 323 |
| Shell | 43 | 5,627 | 4,024 | 945 | 658 |
| BASH | 1 | 951 | 819 | 70 | 62 |
| JSON | 5 | 819 | 819 | 0 | 0 |
| XML | 3 | 708 | 695 | 1 | 12 |
| Makefile | 21 | 724 | 524 | 82 | 118 |
| Python | 2 | 668 | 516 | 97 | 55 |
| XAML | 18 | 93 | 93 | 0 | 0 |
| Pan | 1 | 89 | 73 | 13 | 3 |
| Nix | 1 | 38 | 35 | 1 | 2 |
| INI | 1 | 11 | 6 | 5 | 0 |

Top language (Lua 91.7%). Generated at 2026-10-07T21:28:25.794368280+00:00. Canonical report: https://octocounts.com/github/koreader/koreader

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/koreader/koreader/commit/22ea2320c56dd5c9b050f2b42423decc0be651e9?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does koreader/koreader have?

koreader/koreader has 243,391 total lines, including 203,242 code lines, 24,428 comment lines, and 15,721 blank lines.

### How was the koreader/koreader line count measured?

OctoCounts resolved the public GitHub repository to commit 22ea2320c56d, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for koreader/koreader?

This OctoCounts report was generated from master at commit 22ea2320c56d on 2026-10-07T21:28:25.794368280+00:00.

## Similar repository reports

- [xmake-io/xmake](https://octocounts.com/github/xmake-io/xmake) — Lua, 153,347 code lines
- [noctalia-dev/community-plugins](https://octocounts.com/github/noctalia-dev/community-plugins) — Lua, 325,539 code lines
- [beyond-all-reason/Beyond-All-Reason](https://octocounts.com/github/beyond-all-reason/Beyond-All-Reason) — Lua, 890,077 code lines
- [finlater/weread.koplugin](https://octocounts.com/github/finlater/weread.koplugin) — Lua, 42,351 code lines
- [carlos-algms/agentic.nvim](https://octocounts.com/github/carlos-algms/agentic.nvim) — Lua, 38,581 code lines
- [PathOfBuildingCommunity/PathOfBuilding-PoE2](https://octocounts.com/github/PathOfBuildingCommunity/PathOfBuilding-PoE2) — Lua, 1,495,204 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [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)
