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.
OctoCounts produced this report by resolving paritytech/polkadot-sdk to commit ec1052d44971, 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.
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.
paritytech/polkadot-sdk has 1,539,277 total lines, including 1,192,097 code lines, 167,567 comment lines, and 179,613 blank lines.
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.
This OctoCounts report was generated from master at commit ec1052d44971 on 2026-07-16T17:16:33.136640108+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: