Cppcheck
A tool for static C/C++ code analysis
Language / Framework: C/C++
Categories: Style, Compatibility, Performance, Clarity, Bug Risk
Cppcheck Version: 1.84
The Code Climate Cppcheck engine wraps Cppcheck, a tool for static C/C++ code analysis. It provides unique code analysis to detect bugs and focuses on detecting undefined behavior and dangerous coding constructs. The goal is to detect only real errors in the code (i.e. have very few false positives).
Enable the Plugin
plugins:
cppcheck:
enabled: true
More information about the CLI is available in the README here: https://github.com/codeclimate/codeclimate
Configure the Plugin
https://github.com/antiagainst/codeclimate-cppcheck#configuration
Understand the Plugin
For more information about all the checks available and their configuration options, please check out the documentation here: http://cppcheck.sourceforge.net/
Updated about 6 years ago