# MystenLabs/sui SLOC report

> As of 2026-07-16 (commit 4c1e585e814e), MystenLabs/sui contains 1,344,268 total lines: 1,141,523 code, 82,675 comments, 120,070 blank, across 4,362 files in 23 languages (top: Rust 80.9%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving MystenLabs/sui to commit 4c1e585e814e, 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 84.9% of all lines, comments represent 6.2%, and the repository averages 262 code lines per file. Rust accounts for 80.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 3,150 | 1,087,363 | 923,793 | 55,794 | 107,776 |
| C | 1 | 79,681 | 79,659 | 0 | 22 |
| JSON | 75 | 71,466 | 71,450 | 0 | 16 |
| YAML | 40 | 19,006 | 17,581 | 46 | 1,379 |
| TypeScript | 128 | 16,466 | 10,815 | 3,899 | 1,752 |
| TOML | 399 | 11,077 | 9,403 | 437 | 1,237 |
| GraphQL | 2 | 9,604 | 9,167 | 0 | 437 |
| TSX | 90 | 6,875 | 5,706 | 505 | 664 |
| Python | 17 | 5,905 | 4,645 | 344 | 916 |
| JavaScript | 19 | 2,624 | 2,048 | 265 | 311 |
| Shell | 53 | 3,035 | 2,022 | 518 | 495 |
| Protocol Buffers | 21 | 5,434 | 1,515 | 3,295 | 624 |

Top language (Rust 80.9%). Generated at 2026-07-16T17:17:24.323653503+00:00. Canonical report: https://octocounts.com/github/MystenLabs/sui

## Report FAQ

### How many lines of code does MystenLabs/sui have?

MystenLabs/sui has 1,344,268 total lines, including 1,141,523 code lines, 82,675 comment lines, and 120,070 blank lines.

### How was the MystenLabs/sui line count measured?

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

### What commit was counted for MystenLabs/sui?

This OctoCounts report was generated from main at commit 4c1e585e814e on 2026-07-16T17:17:24.323653503+00:00.

## Similar repository reports

- [nautechsystems/nautilus_trader](https://octocounts.com/github/nautechsystems/nautilus_trader) — Rust, 1,161,242 code lines
- [macro-inc/macro](https://octocounts.com/github/macro-inc/macro) — Rust, 1,117,134 code lines
- [tinyhumansai/openhuman](https://octocounts.com/github/tinyhumansai/openhuman) — Rust, 1,170,843 code lines
- [paritytech/polkadot-sdk](https://octocounts.com/github/paritytech/polkadot-sdk) — Rust, 1,192,097 code lines
- [openinterpreter/openinterpreter](https://octocounts.com/github/openinterpreter/openinterpreter) — Rust, 1,083,771 code lines
- [openai/codex](https://octocounts.com/github/openai/codex) — Rust, 1,236,363 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)
