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

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/

Cppcheck


A tool for static C/C++ code analysis

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.