# cppcheck-opensource/cppcheck SLOC report

> As of 2026-11-15 (commit e6188446626b), cppcheck-opensource/cppcheck contains 392,247 total lines: 328,734 code, 36,413 comments, 27,100 blank, across 886 files in 24 languages (top language: Forge Config 41.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

cppcheck-opensource/cppcheck has 328,734 source lines of code out of 392,247 total lines across 886 files, counted with tokei from the main ref at commit e6188446626b on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving cppcheck-opensource/cppcheck to commit e6188446626b, 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

cppcheck-opensource/cppcheck: 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 83.8% of all lines, comments represent 9.3%, and the repository averages 371 code lines per file. Forge Config accounts for 41.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Forge Config | 51 | 134,965 | 134,952 | 0 | 13 |
| C++ | 144 | 133,712 | 111,154 | 9,350 | 13,208 |
| TypeScript | 14 | 43,556 | 43,095 | 0 | 461 |
| Python | 47 | 20,925 | 17,327 | 1,186 | 2,412 |
| C Header | 147 | 28,996 | 14,796 | 9,671 | 4,529 |
| HTML | 15 | 2,520 | 2,059 | 0 | 461 |
| XML | 24 | 1,140 | 1,089 | 51 | 0 |
| CMake | 25 | 1,379 | 1,061 | 142 | 176 |
| Makefile | 2 | 1,361 | 1,015 | 25 | 321 |
| Visual Studio Project | 2 | 689 | 689 | 0 | 0 |
| Shell | 13 | 476 | 297 | 83 | 96 |
| C# | 1 | 331 | 291 | 16 | 24 |

Top language: Forge Config 41.1%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/cppcheck-opensource/cppcheck

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/cppcheck-opensource/cppcheck/commit/e6188446626b9e3c0cd16ffe0e49c73b18e52793?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=a1eda196ab6c5ad6537cc107b62bbf500b92e236bbfd198551845915f25df81d).

## Report FAQ

### How many lines of code does cppcheck-opensource/cppcheck have?

cppcheck-opensource/cppcheck has 328,734 lines of code, plus 36,413 comment lines and 27,100 blank lines, for 392,247 total lines at commit e6188446626b on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the cppcheck-opensource/cppcheck line count measured?

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

### What commit was counted for cppcheck-opensource/cppcheck?

This OctoCounts report was generated from main at commit e6188446626b on November 15, 2026.

## Similar repository reports

- [Safa-cod/AgriTech-ESP32-Edge-AI](https://octocounts.com/github/Safa-cod/AgriTech-ESP32-Edge-AI) — C, 328,660 code lines
- [kvcache-ai/ktransformers](https://octocounts.com/github/kvcache-ai/ktransformers) — Python, 328,652 code lines
- [seedds/nxnative](https://octocounts.com/github/seedds/nxnative) — C, 328,332 code lines
- [greyovo/PicQuery](https://octocounts.com/github/greyovo/PicQuery) — JSON, 328,268 code lines
- [haproxy/haproxy](https://octocounts.com/github/haproxy/haproxy) — C, 328,191 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)
- [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)
