fwupd/fwupd has 524,818 source lines of code out of 786,416 total lines across 2,831 files, counted with tokei from the main ref at commit 7a14c03a8d42 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-11 (commit 7a14c03a8d42), fwupd/fwupd contains 786,416 total lines: 524,818 code, 145,744 comments, 115,854 blank, across 2,831 files in 26 languages (top language: C 61.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving fwupd/fwupd to commit 7a14c03a8d42, 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 large codebase by counted code lines. Code represents 66.7% of all lines, comments represent 18.5%, and the repository averages 185 code lines per file. C accounts for 61.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 1034 | 421329 | 325092 | 52468 | 43769 |
| PO File | 51 | 237379 | 111379 | 70310 | 55690 |
| Rust | 231 | 29958 | 24970 | 2009 | 2979 |
| C Header | 917 | 31797 | 18586 | 8309 | 4902 |
| Python | 89 | 18977 | 15421 | 1323 | 2233 |
| Meson | 193 | 14206 | 12901 | 280 | 1025 |
| XML | 13 | 8103 | 7908 | 119 | 76 |
| C++ | 5 | 3686 | 3332 | 74 | 280 |
| Autoconf | 40 | 3403 | 2943 | 114 | 346 |
| Shell | 28 | 1202 | 895 | 146 | 161 |
| YAML | 1 | 321 | 307 | 5 | 9 |
| JSON | 7 | 255 | 255 | 0 | 0 |
Top language: C 61.9%. Generated on .
fwupd/fwupd: 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.
fwupd/fwupd has 524,818 lines of code, plus 145,744 comment lines and 115,854 blank lines, for 786,416 total lines at commit 7a14c03a8d42 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 7a14c03a8d42, 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 main at commit 7a14c03a8d42 on November 11, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for fwupd/fwupd on this page — 524,818 code lines across 26 languages, counted by tokei.