Skip to content
⌘K

Cppcheck

static analysis of C/C++ code.

health 94contrib 456.8k

Overview & architecture

C++ standard
–
Build systems
cmake
License
GPL-3.0
Languages
C++
Last release
2.22.0 · Sep 19, 2026

Repository activity

snapshot Nov 22, 2026
GitHub stars
latest
6.8k▲ 37
Merged PRs (30d)
latest
90▲ 75
Contributors (90d)
latest
23▲ 18
Issue first response p50
–
No snapshots yet.
1 open issues218 open PRs9 releases / year90 commits (30d)0 good first issues0 help wanted

Recent notable activity

  • Release
    Cppcheck 2.22.0

    Release Notes for Cppcheck 2.22 Major bug fixes & crashes: Fixed a large number of fuzzer-found crashes and hangs in the tokenizer and template simplifier, e.g. TemplateSimplifier::expandTemplate() (bb630c244, 3f2d60c4b), Tokenizer::simplifyTypedef() (71de6753d, 3deb36d1f, 592e7b7c2), Tokenizer::simplifyUsing()…

    2.22.0
  • Release
    Cppcheck 2.22.0
    2.22.0
  • Release
    Cppcheck 2.21.1
    2.21.1
  • Release
    Cppcheck 2.21.0

    Release Notes for Cppcheck 2.21 Major bug fixes & crashes: Fixed potential crash with incomplete preprocessor directive Fixed hang in createAst Fixed invalid AST for braced initialization and references/pointers Fixed cppcheckError with array typedef Fixed recheck which now correctly excludes non selected files Fixed…

    danmar2.21.0
  • Release
    Cppcheck 2.21.0
    2.21.0
  • Release
    Cppcheck 2.20.1
    2.20.1
  • Release
    Cppcheck 2.20.0

    Release Notes for Cppcheck 2.20 GUI: Fix: The Misra C checkbox in "Edit Project" dialog is unchecked after reloading project. Fix: In the Misra Report, use proper icons according to misra classifications Fix: The platform files are not shown in the dropdown in ProjectFileDialog Troubleshooting: detailed progress view…

    danmar2.20.0
  • Release
    Cppcheck 2.20.0
    2.20.0
  • Release
    Cppcheck 2.19.0

    Release Notes for Cppcheck 2.19 Major bug fixes & crashes: Crash in CheckClass::checkConst() fuzzing crash (assert) in Token::update_property_info() Crash in checkConstVariable() Crash in valueFlowLifetimeClassConstructor() GUI: scratch pad crash Assert failure in getParentValueTypes() Crash in…

    danmar2.19.0
  • Release
    Cppcheck 2.17.0

    Release Notes for Cppcheck 2.17 New checks: staticFunction: detect functions that should have internal linkage since they are not used outside of their translation unit (C code only). Check null pointer return from memory/resource allocation functions (nullPointerOutOfMemory, nullPointerArithmeticOutOfMemory,…

    danmar2.17.0
  • Release
    Cppcheck 2.18.0

    Release Notes for Cppcheck 2.18 Changed interface: Updated path matching syntax for -i, --file-filter, suppressions, GUI excludes, and project file excludes. Old patterns that use a * may need to use instead if it is intended to match path separators. More details can be seen in the manual. Deprecations: Support for…

    danmar2.18.0
  • Release
    Cppcheck 2.17.1

    fixes: 2cec7ebcdc6808bddbd1230649e55add07656ddb fixed #13656 - fixed stack-use-after-scope in GUI 521d5d844d48def80bb2b6fb96e9a34f459bb8b1 Fix #13633 (safety: the xml version 3 report should show safety properties)

    danmar2.17.1

Stories

ReleaseFor you

Cppcheck 2.22.0 released

Release Notes for Cppcheck 2.22 Major bug fixes & crashes: Fixed a large number of fuzzer-found crashes and hangs in the tokenizer and template simplifier, e.g. TemplateSimplifier::expandTemplate() (bb630c244, 3f2d60c4b), Tokenizer::simplifyTypedef() (71de6753d, 3deb36d1f, 592e7b7c2)…

Why it matters: Cppcheck is in Language & Toolchain (one of your focus areas).

ReleaseFor you

Cppcheck 2.21.0 released

Release Notes for Cppcheck 2.21 Major bug fixes & crashes: Fixed potential crash with incomplete preprocessor directive Fixed hang in createAst Fixed invalid AST for braced initialization and references/pointers Fixed cppcheckError with array typedef Fixed recheck which now correctly excludes non…

Why it matters: Cppcheck is in Language & Toolchain (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

No maintainers recorded yet.

Top contributors

Releases & changelog

  • Cppcheck 2.22.0major

    Release Notes for Cppcheck 2.22 Major bug fixes & crashes: Fixed a large number of fuzzer-found crashes and hangs in the tokenizer and template simplifier, e.g. TemplateSimplifier::expandTemplate() (bb630c244, 3f2d60c4b), Tokenizer::simplifyTypedef() (71de6753d, 3deb36d1f, 592e7b7c2), Tokenizer::simplifyUsing()…

  • Cppcheck 2.21.0major

    Release Notes for Cppcheck 2.21 Major bug fixes & crashes: Fixed potential crash with incomplete preprocessor directive Fixed hang in createAst Fixed invalid AST for braced initialization and references/pointers Fixed cppcheckError with array typedef Fixed recheck which now correctly excludes non selected files Fixed…

  • Cppcheck 2.20.0major

    Release Notes for Cppcheck 2.20 GUI: Fix: The Misra C checkbox in "Edit Project" dialog is unchecked after reloading project. Fix: In the Misra Report, use proper icons according to misra classifications Fix: The platform files are not shown in the dropdown in ProjectFileDialog Troubleshooting: detailed progress view…

  • Cppcheck 2.19.0major

    Release Notes for Cppcheck 2.19 Major bug fixes & crashes: Crash in CheckClass::checkConst() fuzzing crash (assert) in Token::update_property_info() Crash in checkConstVariable() Crash in valueFlowLifetimeClassConstructor() GUI: scratch pad crash Assert failure in getParentValueTypes() Crash in…

  • Cppcheck 2.17.0major

    Release Notes for Cppcheck 2.17 New checks: staticFunction: detect functions that should have internal linkage since they are not used outside of their translation unit (C code only). Check null pointer return from memory/resource allocation functions (nullPointerOutOfMemory, nullPointerArithmeticOutOfMemory,…

  • Cppcheck 2.18.0major

    Release Notes for Cppcheck 2.18 Changed interface: Updated path matching syntax for -i, --file-filter, suppressions, GUI excludes, and project file excludes. Old patterns that use a * may need to use instead if it is intended to match path separators. More details can be seen in the manual. Deprecations: Support for…

  • Cppcheck 2.17.1

    fixes: 2cec7ebcdc6808bddbd1230649e55add07656ddb fixed #13656 - fixed stack-use-after-scope in GUI 521d5d844d48def80bb2b6fb96e9a34f459bb8b1 Fix #13633 (safety: the xml version 3 report should show safety properties)

  • Cppcheck 2.16.0major

    Release Notes for Cppcheck 2.16.0 Improved checking: constVariable; checking multidimensional arrays constVariablePointer; nested array access deallocuse Changed interface: SARIF output. Use --output-format=sarif to activate this. Add option --output-format= . Allowed formats are sarif and xml. Deprecations: The…

  • Cppcheck 2.15.0: Cppcheck-2.15major

    Release Notes for Cppcheck 2.15 New checks: suspiciousFloatingPointCast flags unnecessary floating point casts that cause loss of precision GUI: Added misra/cert/autosar reports Fixed "Recheck" Add "inline suppressions" option in project file Make it possible to define extra defines when importing a project Changed…

  • Cppcheck 2.14.2

    Small tweaks and fixes Justifications for warnings using comments in the code ( Fix alignas handling ( and (

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement.

Why this score

Health 94Contribution friendliness 45computed 19h ago
  • Activity1.00
    90 merged PRs in 30 days (full marks at 20); 90 commits in 30 days (full marks at 60) [health score: no data for backlog pressure; weights renormalized]health
  • Onboarding0.50
    has mainstream build (CMake/Bazel/Meson), CI; missing contributing guide, docs sitecontrib
  • Entry points0.00
    0 open, unassigned good-first-issue/help-wanted issues without a PR (full marks at 10)contrib
  • Maintainer responsiveness0.85
    median PR merge time 114 h (full marks within 72 h, zero after 60 days) [health score: no data for backlog pressure; weights renormalized]healthcontrib
  • Release cadence1.00
    last release 64 days ago (full marks within 90, zero after 730); 9 releases in 365 days (full marks at 4) [health score: no data for backlog pressure; weights renormalized]health
  • Contributor breadth0.89
    23 unique contributors in 90 days (full marks at 25); top contributor has 47% of commits; stars count for at most 5% of this signal [health score: no data for backlog pressure; weights renormalized]health

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.