# mcu-tools/mcuboot SLOC report

> mcu-tools/mcuboot: 75,825 code lines at commit ff16fed9f298, counted with tokei-15.0.0 on 2026-11-16. Saved result 5cc22bb40a58e03fbbbc551988631c98381f5798b0c4fb94e1298beaaa110b47.

mcu-tools/mcuboot has 75,825 source lines of code out of 119,783 total lines across 573 files, counted with tokei from the main ref at commit ff16fed9f298 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving mcu-tools/mcuboot to commit ff16fed9f298, 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

mcu-tools/mcuboot: 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 medium-sized codebase by counted code lines. Code represents 63.3% of all lines, comments represent 26.1%, and the repository averages 132 code lines per file. C accounts for 61.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 134 | 58,696 | 46,852 | 6,531 | 5,313 |
| C Header | 213 | 35,284 | 11,676 | 19,870 | 3,738 |
| Rust | 16 | 6,873 | 5,456 | 450 | 967 |
| Python | 22 | 3,899 | 2,883 | 405 | 611 |
| LD Script | 15 | 3,884 | 2,557 | 842 | 485 |
| CMake | 34 | 2,709 | 2,108 | 250 | 351 |
| YAML | 62 | 1,982 | 904 | 950 | 128 |
| GNU Style Assembly | 2 | 1,069 | 767 | 196 | 106 |
| Makefile | 14 | 1,415 | 712 | 486 | 217 |
| Shell | 24 | 1,031 | 595 | 269 | 167 |
| Go | 3 | 727 | 585 | 67 | 75 |
| C++ | 4 | 494 | 296 | 109 | 89 |
| JSON | 1 | 199 | 199 | 0 | 0 |
| TOML | 5 | 265 | 153 | 64 | 48 |
| ReStructuredText | 1 | 61 | 39 | 0 | 22 |
| Dockerfile | 1 | 52 | 26 | 19 | 7 |
| Nix | 1 | 32 | 17 | 14 | 1 |
| Markdown | 12 | 945 | 0 | 614 | 331 |
| Plain Text | 9 | 166 | 0 | 164 | 2 |

Top language: C 61.8%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/mcu-tools/mcuboot/commit/ff16fed9f298adc06aa7a1261bb73f3c70481b82?reportId=5cc22bb40a58e03fbbbc551988631c98381f5798b0c4fb94e1298beaaa110b47&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/mcu-tools/mcuboot/commit/ff16fed9f298adc06aa7a1261bb73f3c70481b82?reportId=5cc22bb40a58e03fbbbc551988631c98381f5798b0c4fb94e1298beaaa110b47&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 mcu-tools/mcuboot have?

mcu-tools/mcuboot has 75,825 lines of code, plus 31,300 comment lines and 12,658 blank lines, for 119,783 total lines at commit ff16fed9f298 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the mcu-tools/mcuboot line count measured?

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

### What commit was counted for mcu-tools/mcuboot?

This OctoCounts report was generated from main at commit ff16fed9f298 on November 16, 2026.

## Similar repository reports

- [yindaz/DeepCompletionRelease](https://octocounts.com/github/yindaz/DeepCompletionRelease) — C, 76,454 code lines
- [emqx/neuron](https://octocounts.com/github/emqx/neuron) — C, 76,534 code lines
- [meta/zstd](https://octocounts.com/github/meta/zstd) — C, 76,930 code lines
- [coreutils/coreutils](https://octocounts.com/github/coreutils/coreutils) — C, 78,208 code lines
- [ithewei/libhv](https://octocounts.com/github/ithewei/libhv) — C, 81,355 code lines
- [linux-pam/linux-pam](https://octocounts.com/github/linux-pam/linux-pam) — C, 69,730 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)
