# redox-os/kernel SLOC report

> As of 2026-09-05 (commit 7fc4dee572ca), redox-os/kernel contains 48,028 total lines: 39,925 code, 2,446 comments, 5,657 blank, across 255 files in 9 languages (top: Rust 98.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

redox-os/kernel has 39,925 source lines of code out of 48,028 total lines across 255 files, counted from the 7fc4dee572ca7039e2637a34816e0b1fe7ddf644 ref at commit 7fc4dee572ca by the OctoCounts tokei engine on 2026-09-05. 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 redox-os/kernel to commit 7fc4dee572ca, 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 medium-sized codebase by counted code lines. Code represents 83.1% of all lines, comments represent 5.1%, and the repository averages 157 code lines per file. Rust accounts for 98.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 232 | 46,792 | 39,141 | 2,204 | 5,447 |
| Assembly | 2 | 328 | 230 | 51 | 47 |
| LD Script | 4 | 227 | 149 | 40 | 38 |
| TOML | 5 | 198 | 143 | 30 | 25 |
| JSON | 4 | 100 | 100 | 0 | 0 |
| Device Tree | 2 | 103 | 81 | 1 | 21 |
| Makefile | 1 | 100 | 77 | 4 | 19 |
| Shell | 1 | 7 | 4 | 1 | 2 |
| Markdown | 4 | 173 | 0 | 115 | 58 |

Top language (Rust 98.0%). Generated at 2026-09-05T09:12:04.936597726+00:00. Canonical report: https://octocounts.com/github/redox-os/kernel

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/redox-os/kernel/commit/7fc4dee572ca7039e2637a34816e0b1fe7ddf644?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).

## Report FAQ

### How many lines of code does redox-os/kernel have?

redox-os/kernel has 48,028 total lines, including 39,925 code lines, 2,446 comment lines, and 5,657 blank lines.

### How was the redox-os/kernel line count measured?

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

### What commit was counted for redox-os/kernel?

This OctoCounts report was generated from 7fc4dee572ca7039e2637a34816e0b1fe7ddf644 at commit 7fc4dee572ca on 2026-09-05T09:12:04.936597726+00:00.

## Similar repository reports

- [steeb-k/phoenix-simulacra](https://octocounts.com/github/steeb-k/phoenix-simulacra) — Rust, 39,908 code lines
- [huanglizhuo/OctoCounts](https://octocounts.com/github/huanglizhuo/OctoCounts) — Rust, 39,888 code lines
- [n0-computer/iroh](https://octocounts.com/github/n0-computer/iroh) — Rust, 39,289 code lines
- [kingroryg/turbokv](https://octocounts.com/github/kingroryg/turbokv) — Rust, 40,815 code lines
- [mlm-games/renamite](https://octocounts.com/github/mlm-games/renamite) — Rust, 42,048 code lines
- [huanglizhuo/OctoCount](https://octocounts.com/github/huanglizhuo/OctoCount) — Rust, 37,592 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)
- [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)
