# rust-random/rand SLOC report

> As of 2026-09-25 (commit 9e7d328f60d6), rust-random/rand contains 10,870 total lines: 7,415 code, 2,003 comments, 1,452 blank, across 51 files in 4 languages (top: Rust 98.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

rust-random/rand has 7,415 source lines of code out of 10,870 total lines across 51 files, counted from the master ref at commit 9e7d328f60d6 by the OctoCounts tokei engine on 2026-09-25. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving rust-random/rand to commit 9e7d328f60d6, 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 small codebase by counted code lines. Code represents 68.2% of all lines, comments represent 18.4%, and the repository averages 145 code lines per file. Rust accounts for 98.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 43 | 9,286 | 7,323 | 820 | 1,143 |
| TOML | 4 | 136 | 91 | 18 | 27 |
| HTML | 1 | 1 | 1 | 0 | 0 |
| Markdown | 3 | 1,447 | 0 | 1,165 | 282 |

Top language (Rust 98.8%). Generated at 2026-09-25T09:15:28.546713409+00:00. Canonical report: https://octocounts.com/github/rust-random/rand

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/rust-random/rand/commit/9e7d328f60d6372ae22927f37d1a816fc980f25e?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=fcd1c5a143a1051e0973d9a7067bf8bf6b4ccb95cc9131577ad966e41efa58a6).

## Report FAQ

### How many lines of code does rust-random/rand have?

rust-random/rand has 10,870 total lines, including 7,415 code lines, 2,003 comment lines, and 1,452 blank lines.

### How was the rust-random/rand line count measured?

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

### What commit was counted for rust-random/rand?

This OctoCounts report was generated from master at commit 9e7d328f60d6 on 2026-09-25T09:15:28.546713409+00:00.

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