# zed-industries/zed SLOC report

> As of 2026-09-02 (commit 520d8bdaebe4), zed-industries/zed contains 1,647,620 total lines: 1,368,513 code, 132,777 comments, 146,330 blank, across 3,392 files in 27 languages (top: Rust 93.9%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving zed-industries/zed to commit 520d8bdaebe4, 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 83.1% of all lines, comments represent 8.1%, and the repository averages 403 code lines per file. Rust accounts for 93.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 1,858 | 1,450,497 | 1,285,027 | 28,679 | 136,791 |
| JSON | 363 | 33,542 | 33,523 | 0 | 19 |
| TOML | 306 | 12,908 | 11,276 | 257 | 1,375 |
| Python | 40 | 13,123 | 11,096 | 312 | 1,715 |
| Scheme | 151 | 9,373 | 7,707 | 325 | 1,341 |
| Protocol Buffers | 25 | 6,495 | 5,222 | 244 | 1,029 |
| BASH | 65 | 4,456 | 3,227 | 577 | 652 |
| SVG | 410 | 2,241 | 2,237 | 3 | 1 |
| WebGPU Shader Language | 4 | 1,681 | 1,233 | 208 | 240 |
| Metal Shading Language | 1 | 1,279 | 987 | 144 | 148 |
| HLSL | 3 | 1,361 | 983 | 183 | 195 |
| SQL | 2 | 1,265 | 982 | 7 | 276 |

Top language (Rust 93.9%). Generated at 2026-09-02T04:54:04.181230419+00:00. Canonical report: https://octocounts.com/github/zed-industries/zed

## Report FAQ

### How many lines of code does zed-industries/zed have?

zed-industries/zed has 1,647,620 total lines, including 1,368,513 code lines, 132,777 comment lines, and 146,330 blank lines.

### How was the zed-industries/zed line count measured?

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

### What commit was counted for zed-industries/zed?

This OctoCounts report was generated from main at commit 520d8bdaebe4 on 2026-09-02T04:54:04.181230419+00:00.

## Similar repository reports

- [aptos-labs/aptos-core](https://octocounts.com/github/aptos-labs/aptos-core) — Rust, 1,439,996 code lines
- [oven-sh/bun](https://octocounts.com/github/oven-sh/bun) — Rust, 1,457,654 code lines
- [openai/codex](https://octocounts.com/github/openai/codex) — Rust, 1,236,363 code lines
- [paritytech/polkadot-sdk](https://octocounts.com/github/paritytech/polkadot-sdk) — Rust, 1,192,097 code lines
- [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

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