mit-pdos/xv6-riscv

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.

As of 2026-11-05 (commit fa2ddcb7ca87), mit-pdos/xv6-riscv contains 13,065 total lines: 10,200 code, 1,299 comments, 1,566 blank, across 74 files in 7 languages (top language: C 85.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-05 (commit fa2ddcb7ca87), mit-pdos/xv6-riscv contains 13,065 total lines: 10,200 code, 1,299 comments, 1,566 blank, across 74 files in 7 languages (top language: C 85.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
C4711073867310921308
C Header181155832176147
GNU Style Assembly4279247032
Python12241831130
Makefile12051601431
LD Script28467413
Perl1453825

Top language: C 85.0%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does mit-pdos/xv6-riscv have?

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.

How was the mit-pdos/xv6-riscv line count measured?

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.

What commit was counted for mit-pdos/xv6-riscv?

This OctoCounts report was generated from riscv at commit fa2ddcb7ca87 on November 5, 2026.

Similar repository reports

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.