# riscvarchive/riscv-qemu SLOC report

> riscvarchive/riscv-qemu: 910,920 code lines at commit b34181056c04, counted with tokei-15.0.0 on 2026-11-09. Saved result 26c2efe4787dc2bc7dea76d295693fd631f285d9e0cbeb359c57d0acccda691a.

riscvarchive/riscv-qemu has 910,920 source lines of code out of 1,216,056 total lines across 3,053 files, counted with tokei from the b34181056c04e05db6c632063012beaee7006a37 ref at commit b34181056c04 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving riscvarchive/riscv-qemu to commit b34181056c04, 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

riscvarchive/riscv-qemu: 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 74.9% of all lines, comments represent 12.7%, and the repository averages 298 code lines per file. C accounts for 79.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 1,520 | 941,354 | 724,905 | 95,535 | 120,914 |
| C Header | 1,274 | 201,772 | 129,044 | 49,331 | 23,397 |
| JSON | 19 | 16,007 | 15,292 | 0 | 715 |
| Python | 55 | 11,946 | 8,997 | 1,036 | 1,913 |
| Shell | 17 | 8,931 | 7,083 | 1,065 | 783 |
| Haxe | 5 | 7,426 | 6,995 | 11 | 420 |
| C++ | 9 | 6,953 | 5,748 | 429 | 776 |
| Perl | 7 | 5,929 | 4,607 | 501 | 821 |
| Makefile | 86 | 2,786 | 2,123 | 296 | 367 |
| SVG | 2 | 1,986 | 1,982 | 2 | 2 |
| Objective-C | 1 | 1,737 | 1,316 | 209 | 212 |
| XML | 28 | 1,161 | 957 | 149 | 55 |
| GNU Style Assembly | 12 | 1,454 | 793 | 457 | 204 |
| Device Tree | 2 | 766 | 612 | 67 | 87 |
| PO File | 8 | 722 | 393 | 184 | 145 |
| C++ Header | 1 | 50 | 22 | 23 | 5 |
| GLSL | 3 | 30 | 21 | 0 | 9 |
| BASH | 1 | 28 | 12 | 14 | 2 |
| Module-Definition | 1 | 13 | 12 | 0 | 1 |
| LD Script | 1 | 6 | 6 | 0 | 0 |
| Plain Text | 1 | 4,999 | 0 | 4,999 | 0 |

Top language: C 79.6%. Generated on November 9, 2026. Canonical report: https://octocounts.com/github/riscvarchive/riscv-qemu/commit/b34181056c04e05db6c632063012beaee7006a37?reportId=26c2efe4787dc2bc7dea76d295693fd631f285d9e0cbeb359c57d0acccda691a&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/riscvarchive/riscv-qemu/commit/b34181056c04e05db6c632063012beaee7006a37?reportId=26c2efe4787dc2bc7dea76d295693fd631f285d9e0cbeb359c57d0acccda691a&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does riscvarchive/riscv-qemu have?

riscvarchive/riscv-qemu has 910,920 lines of code, plus 154,308 comment lines and 150,828 blank lines, for 1,216,056 total lines at commit b34181056c04 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the riscvarchive/riscv-qemu line count measured?

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

### What commit was counted for riscvarchive/riscv-qemu?

This OctoCounts report was generated from b34181056c04e05db6c632063012beaee7006a37 at commit b34181056c04 on November 9, 2026.

## Similar repository reports

- [bitkeeper-scm/bitkeeper](https://octocounts.com/github/bitkeeper-scm/bitkeeper) — C, 885,422 code lines
- [OpenCommunityEdition/OpenCE](https://octocounts.com/github/OpenCommunityEdition/OpenCE) — C, 854,777 code lines
- [DeaDBeeF-Player/deadbeef](https://octocounts.com/github/DeaDBeeF-Player/deadbeef) — C, 976,473 code lines
- [PKRoma/ProcessHacker](https://octocounts.com/github/PKRoma/ProcessHacker) — C, 979,949 code lines
- [uroni/urbackup_backend](https://octocounts.com/github/uroni/urbackup_backend) — C, 846,334 code lines
- [nordstjernen-web/nordstjernen-sol-browser](https://octocounts.com/github/nordstjernen-web/nordstjernen-sol-browser) — C, 839,892 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
