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

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.

## 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 | 4,016 | 1,371,807 | 1,054,518 | 148,410 | 168,879 |
| JSON | 83 | 94,965 | 94,956 | 0 | 9 |
| TOML | 577 | 36,964 | 32,711 | 715 | 3,538 |
| Shell | 84 | 4,135 | 2,955 | 580 | 600 |
| WebAssembly | 1 | 2,293 | 2,257 | 23 | 13 |
| TypeScript | 5 | 1,485 | 1,096 | 230 | 159 |
| YAML | 15 | 810 | 700 | 53 | 57 |
| Dockerfile | 25 | 1,019 | 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. Canonical report: https://octocounts.com/github/paritytech/polkadot-sdk

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

## Similar repository reports

- [tinyhumansai/openhuman](https://octocounts.com/github/tinyhumansai/openhuman) — Rust, 1,170,843 code lines
- [nautechsystems/nautilus_trader](https://octocounts.com/github/nautechsystems/nautilus_trader) — Rust, 1,161,242 code lines
- [openai/codex](https://octocounts.com/github/openai/codex) — Rust, 1,236,363 code lines
- [MystenLabs/sui](https://octocounts.com/github/MystenLabs/sui) — Rust, 1,141,523 code lines
- [macro-inc/macro](https://octocounts.com/github/macro-inc/macro) — Rust, 1,117,134 code lines
- [openinterpreter/openinterpreter](https://octocounts.com/github/openinterpreter/openinterpreter) — Rust, 1,083,771 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
