# FuelLabs/sway SLOC report

> As of 2026-11-16 (commit 7dafb1c7ae52), FuelLabs/sway contains 212,527 total lines: 184,469 code, 10,476 comments, 17,582 blank, across 839 files in 11 languages (top language: Rust 96.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

FuelLabs/sway has 184,469 source lines of code out of 212,527 total lines across 839 files, counted with tokei from the master ref at commit 7dafb1c7ae52 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving FuelLabs/sway to commit 7dafb1c7ae52, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

FuelLabs/sway: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 86.8% of all lines, comments represent 4.9%, and the repository averages 220 code lines per file. Rust accounts for 96.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 683 | 203,478 | 177,706 | 9,024 | 16,748 |
| CSS | 4 | 2,708 | 2,686 | 5 | 17 |
| TOML | 85 | 1,613 | 1,426 | 36 | 151 |
| Shell | 15 | 1,233 | 905 | 155 | 173 |
| JavaScript | 4 | 704 | 683 | 14 | 7 |
| JSON | 4 | 543 | 543 | 0 | 0 |
| SVG | 6 | 357 | 356 | 1 | 0 |
| Just | 1 | 200 | 138 | 29 | 33 |
| Dockerfile | 1 | 38 | 26 | 5 | 7 |
| Markdown | 31 | 1,143 | 0 | 787 | 356 |
| Plain Text | 5 | 510 | 0 | 420 | 90 |

Top language: Rust 96.3%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/FuelLabs/sway

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/FuelLabs/sway/commit/7dafb1c7ae52ae8247e41e8e7b36a6f444b40b71?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=82456a46aaf5022967c43beda3ab4ea447671b8734f05925dc996a8526665039).

## Report FAQ

### How many lines of code does FuelLabs/sway have?

FuelLabs/sway has 184,469 lines of code, plus 10,476 comment lines and 17,582 blank lines, for 212,527 total lines at commit 7dafb1c7ae52 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the FuelLabs/sway line count measured?

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

### What commit was counted for FuelLabs/sway?

This OctoCounts report was generated from master at commit 7dafb1c7ae52 on November 16, 2026.

## Similar repository reports

- [aubepkg/aube](https://octocounts.com/github/aubepkg/aube) — Rust, 183,623 code lines
- [storytold/gridcraft](https://octocounts.com/github/storytold/gridcraft) — Rust, 181,885 code lines
- [rustrak/rustrak](https://octocounts.com/github/rustrak/rustrak) — Rust, 181,740 code lines
- [TwanLuttik/TwanAgent](https://octocounts.com/github/TwanLuttik/TwanAgent) — Rust, 181,661 code lines
- [router-for-me/EasyCLIProxyAPI](https://octocounts.com/github/router-for-me/EasyCLIProxyAPI) — Rust, 180,742 code lines
- [h4ckf0r0day/obscura](https://octocounts.com/github/h4ckf0r0day/obscura) — Rust, 180,696 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
