# fwupd/fwupd SLOC report

> As of 2026-11-24 (commit 76073666c85b), fwupd/fwupd contains 790,261 total lines: 530,817 code, 142,987 comments, 116,457 blank, across 2,845 files in 26 languages (top language: C 62.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

Source: [fwupd/fwupd on GitHub](https://github.com/fwupd/fwupd) · counted commit [76073666c85b](https://github.com/fwupd/fwupd/tree/76073666c85b31577eb83d7fc5941340737f1aac)

fwupd/fwupd has 530,817 source lines of code out of 790,261 total lines across 2,845 files, counted with tokei from the main ref at commit 76073666c85b on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving fwupd/fwupd to commit 76073666c85b, 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

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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 67.2% of all lines, comments represent 18.1%, and the repository averages 187 code lines per file. C accounts for 62.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 1,036 | 424,732 | 330,429 | 50,054 | 44,249 |
| PO File | 51 | 237,379 | 111,379 | 70,310 | 55,690 |
| Rust | 240 | 30,567 | 25,467 | 2,046 | 3,054 |
| C Header | 919 | 31,443 | 18,658 | 7,878 | 4,907 |
| Python | 90 | 19,058 | 15,474 | 1,332 | 2,252 |
| Meson | 193 | 14,221 | 12,917 | 279 | 1,025 |
| XML | 12 | 8,093 | 7,897 | 120 | 76 |
| C++ | 5 | 3,686 | 3,332 | 74 | 280 |
| Autoconf | 40 | 3,410 | 2,950 | 114 | 346 |
| Shell | 28 | 1,195 | 890 | 145 | 160 |
| YAML | 1 | 321 | 307 | 5 | 9 |
| JSON | 8 | 279 | 279 | 0 | 0 |

Top language: C 62.2%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/fwupd/fwupd

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/fwupd/fwupd/commit/76073666c85b31577eb83d7fc5941340737f1aac?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&reportId=100d3b4dabeceba5aaad75b0c322aab80f93246e3e88b3194f07301eb647c310).

## Report FAQ

### How many lines of code does fwupd/fwupd have?

fwupd/fwupd has 530,817 lines of code, plus 142,987 comment lines and 116,457 blank lines, for 790,261 total lines at commit 76073666c85b on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the fwupd/fwupd line count measured?

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

### What commit was counted for fwupd/fwupd?

This OctoCounts report was generated from main at commit 76073666c85b on November 24, 2026.

## 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [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)
