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.
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 | 3150 | 1087363 | 923793 | 55794 | 107776 |
| C | 1 | 79681 | 79659 | 0 | 22 |
| JSON | 75 | 71466 | 71450 | 0 | 16 |
| YAML | 40 | 19006 | 17581 | 46 | 1379 |
| TypeScript | 128 | 16466 | 10815 | 3899 | 1752 |
| TOML | 399 | 11077 | 9403 | 437 | 1237 |
| GraphQL | 2 | 9604 | 9167 | 0 | 437 |
| TSX | 90 | 6875 | 5706 | 505 | 664 |
| Python | 17 | 5905 | 4645 | 344 | 916 |
| JavaScript | 19 | 2624 | 2048 | 265 | 311 |
| Shell | 53 | 3035 | 2022 | 518 | 495 |
| Protocol Buffers | 21 | 5434 | 1515 | 3295 | 624 |
Top language (Rust 80.9%). Generated at 2026-07-16T17:17:24.323653503+00:00.
MystenLabs/sui has 1,344,268 total lines, including 1,141,523 code lines, 82,675 comment lines, and 120,070 blank lines.
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.
This OctoCounts report was generated from main at commit 4c1e585e814e on 2026-07-16T17:17:24.323653503+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: