CppCheck plugin

From Code::Blocks
Revision as of 01:58, 7 November 2011 by Alpha (talk | contribs) (Created page with "Category: Code::Blocks Contrib Plugins {{Infobox_Plugin| name = CppCheck | logo = Image:Generic-plugin.png | developer = Killerbot (Lieven de Cock) | maintainer =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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