As of 2026-07-10 (commit beff732e6642), thesofproject/linux-firmware contains 49,375 total lines: 25,073 code, 18,270 comments, 6,032 blank, across 167 files in 15 languages (top: C 40.9%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving thesofproject/linux-firmware to commit beff732e6642, 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.
This is a medium-sized codebase by counted code lines. Code represents 50.8% of all lines, comments represent 37.0%, and the repository averages 150 code lines per file. C accounts for 40.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 36 | 13644 | 10258 | 1355 | 2031 |
| C Header | 42 | 9610 | 5937 | 2280 | 1393 |
| GNU Style Assembly | 9 | 3076 | 2470 | 360 | 246 |
| Assembly | 5 | 3387 | 2387 | 432 | 568 |
| HEX | 2 | 2346 | 2346 | 0 | 0 |
| Happy | 1 | 740 | 635 | 0 | 105 |
| CMake | 13 | 840 | 414 | 283 | 143 |
| Lex | 1 | 364 | 312 | 12 | 40 |
| Makefile | 7 | 145 | 105 | 6 | 34 |
| Shell | 3 | 132 | 95 | 15 | 22 |
| LD Script | 2 | 79 | 49 | 20 | 10 |
| Python | 1 | 60 | 48 | 4 | 8 |
Top language (C 40.9%). Generated at 2026-07-10T12:12:36.695898505+00:00.
thesofproject/linux-firmware has 49,375 total lines, including 25,073 code lines, 18,270 comment lines, and 6,032 blank lines.
OctoCounts resolved the public GitHub repository to commit beff732e6642, 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 master at commit beff732e6642 on 2026-07-10T12:12:36.695898505+00:00.