cppcheck

Install latest/stable of cppcheck

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install cppcheck

Don't have snapd? Get set up for snaps.

Channel Version Published

C/C++ static code analyser

Cppcheck is a static analysis tool for discovering bugs in C and C++ codebases, even when a non-standard syntax is used.

By implementing coding standards such as Mistra C 2012 and providing extensibility with custom rules, it detects dangerous coding constructs such as buffer overflows, NULL pointer dereferences, and divisions by zero. At the same time, Cppcheck tries to minimise the false positive rates.

Details for cppcheck

License
  • GPL-3.0

Last updated
  • 23 January 2024 - latest/stable
  • Yesterday - latest/edge

Websites

Contact

Source code

Report a bug

Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.


Install cppcheck on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Where people are using cppcheck

Users by distribution (log)

Ubuntu 22.04
Ubuntu 24.04
Ubuntu 20.04
Ubuntu 18.04
Ubuntu 24.10
Ubuntu 16.04
Ubuntu 23.10