CppCheck plugin

From CodeBlocks
Revision as of 03: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)
Jump to: navigation, search
Developer(s): Killerbot (Lieven de Cock)
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