Cppcheck¶ Cppcheck is a tool that does static analysis on C and C++ code. Installation¶ The cppcheck tool is available in most system package managers. For example, on Ubuntu: $ sudo apt-get install cppcheck