# FreeRTOS/FreeRTOS-Kernel SLOC report

> FreeRTOS/FreeRTOS-Kernel: 238,653 code lines at commit 83a45bf29002, counted with tokei-15.0.0 on 2026-11-24. Saved result 8d5c2e98cc888b7bb0f232a45cac3b4e19cd2f5ffa0dfe1cb17ac804765e873b.

Source: [FreeRTOS/FreeRTOS-Kernel on GitHub](https://github.com/FreeRTOS/FreeRTOS-Kernel) · counted commit [83a45bf29002](https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/83a45bf290024de16ca94df1f7262bcde6c82ffe)

FreeRTOS/FreeRTOS-Kernel has 238,653 source lines of code out of 410,275 total lines across 827 files, counted with tokei from the main ref at commit 83a45bf29002 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving FreeRTOS/FreeRTOS-Kernel to commit 83a45bf29002, 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

FreeRTOS/FreeRTOS-Kernel: 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 58.2% of all lines, comments represent 28.5%, and the repository averages 289 code lines per file. C accounts for 60.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 284 | 235,506 | 144,240 | 57,488 | 33,778 |
| C Header | 371 | 113,004 | 54,954 | 46,096 | 11,954 |
| GNU Style Assembly | 97 | 51,981 | 36,885 | 7,890 | 7,206 |
| CMake | 11 | 2,097 | 1,500 | 237 | 360 |
| Assembly | 6 | 1,042 | 533 | 306 | 203 |
| Bitbake | 3 | 287 | 227 | 0 | 60 |
| Python | 1 | 202 | 147 | 31 | 24 |
| Batch | 1 | 172 | 142 | 0 | 30 |
| YAML | 2 | 35 | 25 | 5 | 5 |
| Markdown | 21 | 965 | 0 | 686 | 279 |
| Plain Text | 30 | 4,984 | 0 | 4,226 | 758 |

Top language: C 60.4%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/FreeRTOS/FreeRTOS-Kernel/commit/83a45bf290024de16ca94df1f7262bcde6c82ffe?reportId=8d5c2e98cc888b7bb0f232a45cac3b4e19cd2f5ffa0dfe1cb17ac804765e873b&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/FreeRTOS/FreeRTOS-Kernel/commit/83a45bf290024de16ca94df1f7262bcde6c82ffe?reportId=8d5c2e98cc888b7bb0f232a45cac3b4e19cd2f5ffa0dfe1cb17ac804765e873b&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 FreeRTOS/FreeRTOS-Kernel have?

FreeRTOS/FreeRTOS-Kernel has 238,653 lines of code, plus 116,965 comment lines and 54,657 blank lines, for 410,275 total lines at commit 83a45bf29002 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the FreeRTOS/FreeRTOS-Kernel line count measured?

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

### What commit was counted for FreeRTOS/FreeRTOS-Kernel?

This OctoCounts report was generated from main at commit 83a45bf29002 on November 24, 2026.

## Similar repository reports

- [HarbourMasters/Lighthouse](https://octocounts.com/github/HarbourMasters/Lighthouse) — C, 238,443 code lines
- [adriadam10/mkw-recomp](https://octocounts.com/github/adriadam10/mkw-recomp) — C, 239,600 code lines
- [greenbone/gvmd](https://octocounts.com/github/greenbone/gvmd) — C, 234,549 code lines
- [c3lang/c3c](https://octocounts.com/github/c3lang/c3c) — C, 228,932 code lines
- [rusqlite/rusqlite](https://octocounts.com/github/rusqlite/rusqlite) — C, 225,596 code lines
- [immortalwrt/immortalwrt](https://octocounts.com/github/immortalwrt/immortalwrt) — C, 223,700 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)
- [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)
