paritytech/polkadot-sdk SLOC report
As of 2026-07-16 (commit ec1052d44971), paritytech/polkadot-sdk contains 1,539,277 total lines: 1,192,097 code, 167,567 comments, 179,613 blank, across 5,235 files in 21 languages (top: Rust 88.5%). Counted with tokei via OctoCounts.
Repository size insights
This is a very large codebase by counted code lines. Code represents 77.4% of all lines, comments represent 10.9%, and the repository averages 228 code lines per file. Rust accounts for 88.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Rust | 4016 | 1371807 | 1054518 | 148410 | 168879 |
| JSON | 83 | 94965 | 94956 | 0 | 9 |
| TOML | 577 | 36964 | 32711 | 715 | 3538 |
| Shell | 84 | 4135 | 2955 | 580 | 600 |
| WebAssembly | 1 | 2293 | 2257 | 23 | 13 |
| TypeScript | 5 | 1485 | 1096 | 230 | 159 |
| YAML | 15 | 810 | 700 | 53 | 57 |
| Dockerfile | 25 | 1019 | 653 | 157 | 209 |
| Ruby | 1 | 621 | 570 | 18 | 33 |
| JavaScript | 15 | 608 | 489 | 55 | 64 |
| Handlebars | 6 | 460 | 433 | 0 | 27 |
| Python | 2 | 314 | 251 | 20 | 43 |
Top language (Rust 88.5%). Generated at 2026-07-16T17:16:33.136640108+00:00.
Report FAQ
How many lines of code does paritytech/polkadot-sdk have?
paritytech/polkadot-sdk has 1,539,277 total lines, including 1,192,097 code lines, 167,567 comment lines, and 179,613 blank lines.
How was the paritytech/polkadot-sdk line count measured?
OctoCounts resolved the public GitHub repository to commit ec1052d44971, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for paritytech/polkadot-sdk?
This OctoCounts report was generated from master at commit ec1052d44971 on 2026-07-16T17:16:33.136640108+00:00.