Coverity Scan
SonarQube
Flawfinder
PVS-Studio
Splint
Codacy
Clang Static Analyzer
ShellCheck finds bugs in your shell scripts

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.

Which is more popular?
Based on our record, Shellcheck should be more popular than Cppcheck. It has been mentioned 30 times since March 2021.
Website, pricing, platforms and company facts side by side.
|
S
Shellcheck
|
|
|
|---|---|---|
| Website | shellcheck.net | cppcheck.sourceforge.io |
| 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.

No analysis of Shellcheck yet.
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.
Walkthroughs and reviews on video.
Linting Your Bash Scripts with Shellcheck
More videos
Cppcheck
More videos
How often each product is chosen within a category, 0–100% relative to the other.

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

We have no reviews of Shellcheck yet. Be the first one to post
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...
Recommendations tracked on public social media and blogs since March 2021.

The other ones most people point to are https://pandoc.org and https://shellcheck.net. - Source: Hacker News / over 1 year ago
> Are "Random shell scripts from the internet" categorically worse than "random docker images from the internet"? > With the shell script, you can literally read it in an ... ... https://shellcheck.net. Can't do that if all... - Source: Hacker News / over 2 years ago
Nice script. It's... uhhh... Not shellcheck-clean. https://shellcheck.net/. - Source: Hacker News / about 3 years ago
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
When comparing Shellcheck and Cppcheck, you can also consider the following products.

Find and fix defects in your Java, C/C++ or C# open source project for free
Compare Coverity Scan to Shellcheck or Cppcheck:
The Clang Static Analyzer is a source code analysis tool that finds bugs in C, C++, and Objective-C...
Compare Clang Static Analyzer to Shellcheck or Cppcheck:

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 Shellcheck or Cppcheck:


PVS-Studio is a useful piece of software for detecting problems in source code. The software examines program codes written in C, C++, and C# for any problems that might prohibit the code from functioning properly.
Compare PVS-Studio to Shellcheck or Cppcheck: