mit-pdos/xv6-riscv has 10,200 source lines of code out of 13,065 total lines across 74 files, counted with tokei from the riscv ref at commit fa2ddcb7ca87 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
mit-pdos/xv6-riscv: 10,200 code lines at commit fa2ddcb7ca87, counted with tokei-15.0.0 on 2026-11-05. Saved result 7f75207bc7bfecac4d59c1ad8171a1e34e39e38a29a79f1f54aa8b930bb0fd00.
OctoCounts produced this report by resolving mit-pdos/xv6-riscv to commit fa2ddcb7ca87, 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.
This is a medium-sized codebase by counted code lines. Code represents 78.1% of all lines, comments represent 9.9%, and the repository averages 138 code lines per file. C accounts for 85.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 47 | 11073 | 8673 | 1092 | 1308 |
| C Header | 18 | 1155 | 832 | 176 | 147 |
| GNU Style Assembly | 4 | 279 | 247 | 0 | 32 |
| Python | 1 | 224 | 183 | 11 | 30 |
| Makefile | 1 | 205 | 160 | 14 | 31 |
| LD Script | 2 | 84 | 67 | 4 | 13 |
| Perl | 1 | 45 | 38 | 2 | 5 |
Top language: C 85.0%. Generated on .
mit-pdos/xv6-riscv: 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.
mit-pdos/xv6-riscv has 10,200 lines of code, plus 1,299 comment lines and 1,566 blank lines, for 13,065 total lines at commit fa2ddcb7ca87 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit fa2ddcb7ca87, 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 riscv at commit fa2ddcb7ca87 on November 5, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for mit-pdos/xv6-riscv on this page — 10,200 code lines across 7 languages, counted by tokei.