What is CodeCheck (and what can it check)?¶
CodeCheck verifies your code against coding rules — published standards (MISRA, AUTOSAR, CERT, HIS, Power of Ten, …), SciTools' recommended checks, compiler warnings, and your own custom standards. Use it for naming conventions, metric thresholds, published best practices, or any team rule you can express as a check.
How it works¶
- You pick a configuration (a set of checks) and the files to run on, then Inspect.
- Each run produces an inspection — a snapshot of your code's conformance at that moment. You can keep several inspections and configurations.
- Results appear in the Violation Browser, on the editor margin, and in reports.
What it's good at — and its limits¶
CodeCheck excels at rule/standard conformance, naming, structure, and metric-based rules. For published standards, some rules are automated and some require manual review — the "which standard" page lists each standard's automated-coverage percentage (the per-rule detail is in the coverage matrices), and a compliance report accounts for the non-automated rules. For deeper C/C++ defect finding (memory misuse, etc.), enable the Bug Hunter checks.
Get started¶
Open it with Checks → Open CodeCheck. See run your first check.