
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.

Coverity Scan
SonarQube
PyCharm
Embold.io
ReSharper C++
Checkmarx
Veracode
Klocwork is a static code analysis and SAST tool for C, C++, C#, Java, and JavaScript.

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 | perforce.com |
| Pricing | — | |
| Listed in |
In their own words, as submitted to SaaSHub.


No description of Cppcheck yet.
Klocwork is a static code analysis and SAST tool for C, C++, C#, Java, and JavaScript that identifies software security, quality, and reliability issues to help enforce standards compliance. Built for enterprise DevOps and DevSecOps, Klocwork scales to projects of any size, integrates with large...
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.
Overall verdict
Why this product is good
Recommended for
Klocwork is particularly recommended for medium to large development teams working on complex, multi-language codebases where security and reliability are a priority. It's ideal for organizations that need to comply with specific coding standards and require robust support for identifying issues early in the development process.
Walkthroughs and reviews on video.
Cppcheck
More videos
How to Leverage Klocwork for Continuous Development and Testing
More videos
How often each product is chosen within a category, 0–100% relative to the other.


Share your experience with using Cppcheck and Klocwork. 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...
It finds safety Vulnerabilities with SAST and integrates with CI/CD tools, containers, cloud services, and device provisioning to make automatic safety testing clean. DevOps geared up Klocwork equipment are designed...
Klocwork by Perforce is a leader when it comes to C++ static code analysis tools. There is a reason it’s an industry leader; it specializes in large codebases, which is a big plus. It has more than 1K checkers and it...
For quick identification, Klocwork highlights the issue raised ‘line of code’, cites the cause of the issue and suggests few measures to overcome the same.
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 Klocwork since Mar 2021.
When comparing Cppcheck and Klocwork, 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 Klocwork:

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

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 Klocwork:


Python & Django IDE with intelligent code completion, on-the-fly error checking, quick-fixes, and much more...
Compare PyCharm to Cppcheck or Klocwork:
