PHP_CodeSniffer
Command-line checker that flags PHP code against coding standards
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.
ShellCheck is a command-line linter that reads shell scripts and reports common mistakes, such as unquoted variables, syntax that breaks under some shells, and misuse of commands. It is aimed at developers and system administrators who maintain bash, sh, dash, or ksh scripts and want to catch bugs before running them.
| Cppcheck | ShellCheck | |
|---|---|---|
| What it is | static analysis for C and C++ code that flags real bugs | static analysis linter for bash and other shell scripts |
| Runs on | Windows | Not stated |
| Price | Open source, free | Open source, free |
| License | GPL-3.0 | GPL-3.0 |
| Maker | The Cppcheck team | koalaman |
| GitHub stars | – | 40k |
| Store rating | – | – |
| Website | github.com | shellcheck.net |
Both are tagged 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”.
Command-line checker that flags PHP code against coding standards
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