Submit a product

Cppcheck vs PHP_CodeSniffer

Two developer tools side by side, from the facts in our catalog. No sponsored verdict: which one fits depends on what you need.

CppcheckPHP_CodeSniffer
What it isstatic analysis for C and C++ code that flags real bugsCommand-line checker that flags PHP code against coding standards
Runs onWindowsCommand line
PriceOpen source, freeOpen source, free
LicenseGPL-3.0BSD-3-Clause
MakerThe Cppcheck teamsquizlabs
GitHub stars–11k
Store rating––
Websitegithub.comgithub.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”.

Other alternatives to Cppcheck

All alternatives

ShellCheck

Static analysis linter for bash and other shell scripts

ToolDeveloper Tools·Open source·40k

SonarQube CLI

command-line client for SonarQube code quality and security scans

ToolDeveloper Tools·

reviewdog

Posts linter output as code review comments on pull requests

ToolDeveloper Tools··Open source·9.8k

jscpd

Finds duplicated code blocks across source files in many languages

ToolDeveloper Tools··Open source·6.7k

CMake

Cross-platform build system generator for C and C++ projects

ToolDeveloper Tools··Open source

CLion

C and C++ IDE for macOS

AppDeveloper Tools··Paid

Qt Creator

Cross-platform IDE for building applications with the Qt framework

ToolDeveloper Tools··Open source

fzf

Command-line fuzzy finder for lists of files, history and any text

ToolDeveloper Tools··Open source·85k