ShellCheck
Static analysis linter for bash and other shell scripts
Two developer tools side by side, from the facts in our catalog. No sponsored verdict: which one fits depends on what you need.
Cppcheck is a static analyser for C and C++ source code. It looks for the kinds of bugs that ordinary compilers usually let through, and it does not report syntax errors, which the compiler already handles. It is aimed at developers who want their code checked without wading through false alarms.
PHP_CodeSniffer is a command-line tool that reads PHP source files and reports places where the code breaks a chosen coding standard. It is aimed at PHP developers and teams who want style and quality checks to run the same way on every file, for example as a step in a build or continuous integration pipeline.
| Cppcheck | PHP_CodeSniffer | |
|---|---|---|
| What it is | static analysis for C and C++ code that flags real bugs | Command-line checker that flags PHP code against coding standards |
| Runs on | Windows | Command line |
| Price | Open source, free | Open source, free |
| License | GPL-3.0 | BSD-3-Clause |
| Maker | The Cppcheck team | squizlabs |
| GitHub stars | – | 11k |
| Store rating | – | – |
| Website | github.com | github.com |
Both are tagged code quality, linter, static analysis.
Facts come from the products' own sites and public sources such as stores and GitHub. Makers can correct their listing with “Claim this page”.
Static analysis linter for bash and other shell scripts
command-line client for SonarQube code quality and security scans
Posts linter output as code review comments on pull requests
Finds duplicated code blocks across source files in many languages
Cross-platform build system generator for C and C++ projects
C and C++ IDE for macOS
Cross-platform IDE for building applications with the Qt framework
Command-line fuzzy finder for lists of files, history and any text