
Clang Static Analyzer
Coverity Scan
lgtm.com
SonarQube
VisualCodeGrepper
Flawfinder
Parasoft C/C++test
Cppcheck is an analysis tool for C/C++ code. It detects the types of bugs that the compilers normally fail to detect. The goal is no false positives. CppCheckDownload cppcheck for free.

lgtm.com
Clang Static Analyzer
VisualCodeGrepper
Parasoft C/C++test
LDRA Testbed
Flawfinder
Perforce Helix QAC
Polyspace is a suite of static code analysis products developed by Matlab to help software developers, QA Testers, and engineers find critical problems in their code and fix them before they become a serious threat.

Which is more popular?
Based on our record, Cppcheck seems to be more popular. It has been mentioned 10 times since March 2021.
Website, pricing, platforms and company facts side by side.
|
|
|
|
|---|---|---|
| Website | cppcheck.sourceforge.io | mathworks.com |
| Pricing | — | |
| Listed in |
What each product offers, as listed by its team.


Possible disadvantages
Possible disadvantages
An editorial look at what each product does well and who it suits.


Overall verdict
Why this product is good
Recommended for
Cppcheck is recommended for C/C++ developers and development teams, particularly those responsible for maintaining large codebases or projects where code quality and reliability are paramount. It is also beneficial for educational purposes, where students and new developers can learn about potential pitfalls in C/C++ programming.
No analysis of Polyspace yet.
Walkthroughs and reviews on video.
Cppcheck
More videos
What is Polyspace Bug Finder? - Polyspace Bug Finder Overview
More videos
How often each product is chosen within a category, 0–100% relative to the other.


Share your experience with using Cppcheck and Polyspace. For example, how are they different and which one is better?
External articles and on-site reviews we used to compare the two products.


Cppcheck is a popular, open-source, free, cross-platform static code analysis tool dedicated to C and C++. It is known for being easy to use and its simplicity is one of its pros. To get started with it you don’t have...
Polyspace is a static analysis tool that identifies and fixes, or proves the absence of, potential run-time errors (such as divide-by-zero) and checks if the source code follows code standards like MISRA C, MISRA C++,...
Recommendations tracked on public social media and blogs since March 2021.


I dedicated Sunday morning to going over the documentation of the linters we use in the project. The goal was to understand all options and use them in the best way for our project. Seeing their manuals side by side was nice because even... - Source: dev.to / over 2 years ago
Using infer, someone else exploited null-dereference checks to introduce simple affine types in C++. Cppcheck also checks for null-dereferences. Unfortunately, that approach means that borrow-counting references have a larger sizeof than... Source: over 3 years ago
For my own projects, I used cppcheck. You can check out that tool to get a feel. Depending on what industry your in, you might need to follow a standard like Misra. Source: over 3 years ago
Tracking Polyspace since Aug 2021.
When comparing Cppcheck and Polyspace, you can also consider the following products.
The Clang Static Analyzer is a source code analysis tool that finds bugs in C, C++, and Objective-C...
Compare Clang Static Analyzer to Cppcheck or Polyspace:


Find and fix defects in your Java, C/C++ or C# open source project for free
Compare Coverity Scan to Cppcheck or Polyspace:

VCG is an automated code security review tool that handles C/C++, Java, C#, VB and PL/SQL.
Compare VisualCodeGrepper to Cppcheck or Polyspace:

SonarQube, a core component of the Sonar solution, is an open source, self-managed tool that systematically helps developers and organizations deliver Clean Code.
Compare SonarQube to Cppcheck or Polyspace:

Ensure compliance with a variety of functional safety, security, and coding standards in embedded C/C++ software.
Compare Parasoft C/C++test to Cppcheck or Polyspace: