# tsirysndr/rockbox-zig SLOC report

> As of 2026-09-16 (commit 68e9155b6dc5), tsirysndr/rockbox-zig contains 2,694,068 total lines: 2,061,816 code, 365,364 comments, 266,888 blank, across 7,804 files in 65 languages (top: C 49.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

tsirysndr/rockbox-zig has 2,061,816 source lines of code out of 2,694,068 total lines across 7,804 files, counted from the 68e9155b6dc52a6f803e838fb39fc1691aab932f ref at commit 68e9155b6dc5 by the OctoCounts tokei engine on 2026-09-16. 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 tsirysndr/rockbox-zig to commit 68e9155b6dc5, 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 very large codebase by counted code lines. Code represents 76.5% of all lines, comments represent 13.6%, and the repository averages 264 code lines per file. C accounts for 49.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 2,497 | 1,362,469 | 1,017,620 | 179,246 | 165,603 |
| C Header | 2,285 | 402,204 | 255,739 | 96,289 | 50,176 |
| Rust | 408 | 178,623 | 166,751 | 2,954 | 8,918 |
| SVG | 264 | 165,453 | 163,244 | 142 | 2,067 |
| XML | 81 | 116,226 | 116,080 | 89 | 57 |
| TypeScript | 137 | 79,597 | 77,244 | 1,114 | 1,239 |
| C++ | 167 | 61,666 | 45,944 | 8,349 | 7,373 |
| JSON | 51 | 35,780 | 35,768 | 0 | 12 |
| Swift | 121 | 51,032 | 35,228 | 10,897 | 4,907 |
| TSX | 276 | 28,061 | 25,337 | 546 | 2,178 |
| TeX | 269 | 25,424 | 21,457 | 1,230 | 2,737 |
| GNU Style Assembly | 92 | 22,777 | 17,149 | 3,100 | 2,528 |

Top language (C 49.4%). Generated at 2026-09-16T15:53:34.088576044+00:00. Canonical report: https://octocounts.com/github/tsirysndr/rockbox-zig

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/tsirysndr/rockbox-zig/commit/68e9155b6dc52a6f803e838fb39fc1691aab932f?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 tsirysndr/rockbox-zig have?

tsirysndr/rockbox-zig has 2,694,068 total lines, including 2,061,816 code lines, 365,364 comment lines, and 266,888 blank lines.

### How was the tsirysndr/rockbox-zig line count measured?

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

### What commit was counted for tsirysndr/rockbox-zig?

This OctoCounts report was generated from 68e9155b6dc52a6f803e838fb39fc1691aab932f at commit 68e9155b6dc5 on 2026-09-16T15:53:34.088576044+00:00.

## Similar repository reports

- [libretro/retroarch](https://octocounts.com/github/libretro/retroarch) — C, 2,023,550 code lines
- [php/php-src](https://octocounts.com/github/php/php-src) — C, 1,793,289 code lines
- [plan9foundation/plan9](https://octocounts.com/github/plan9foundation/plan9) — C, 1,659,936 code lines
- [postgres/postgres](https://octocounts.com/github/postgres/postgres) — C, 1,630,223 code lines
- [python/cpython](https://octocounts.com/github/python/cpython) — C, 1,628,875 code lines
- [FFmpeg/FFmpeg](https://octocounts.com/github/FFmpeg/FFmpeg) — C, 1,628,496 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)
- [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)
