CppCheck plugin

From Code::Blocks
CppCheck
Generic-plugin.png
Developer(s): Killerbot (Lieven de Cock)
Maintainer(s):
Version: 1.1

This plugin integrates Cppcheck into Code::Blocks. Cppcheck performs static analysis on source code. It searches for bugs, not syntax errors (that is the job of the compiler), based on a set of rules, with a goal of no false positives. Some of the rules in Cppcheck include:

  • Out of bounds checking
  • Check the code for each class
  • Checking exception safety
  • Memory leaks checking
  • Warn if obsolete functions are used
  • Check for invalid usage of STL
  • Check for uninitialized variables and unused functions