Difference between revisions of "CppCheck plugin"
From Code::Blocks
(Created page with "Category: Code::Blocks Contrib Plugins {{Infobox_Plugin| name = CppCheck | logo = Image:Generic-plugin.png | developer = Killerbot (Lieven de Cock) | maintainer =...") |
(No difference)
|
Latest revision as of 01:58, 7 November 2011
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