cppcheck
Install command:
brew install cppcheck
Static analysis of C and C++ code
https://sourceforge.net/projects/cppcheck/
License: GPL-3.0-or-later
Formula JSON API: /api/formula/cppcheck.json
Formula code: cppcheck.rb
on GitHub
Bottle (binary package) installation support provided for:
macOS on Apple Silicon |
sequoia | ✅ |
---|---|---|
sonoma | ✅ | |
ventura | ✅ | |
macOS on Intel |
sonoma | ✅ |
ventura | ✅ | |
Linux | ARM64 | ✅ |
x86_64 | ✅ |
Current versions:
stable | ✅ | 2.18.0 |
head | ⚡️ | HEAD |
Depends on:
pcre | 8.45 | Perl compatible regular expressions library |
tinyxml2 | 11.0.0 | Improved tinyxml (in memory efficiency and size) |
Depends on when building from source:
cmake | 4.1.1 | Cross-platform make |
python@3.13 | 3.13.7 | Interpreted, interactive, object-oriented programming language |
Analytics:
Installs (30 days) | |
---|---|
cppcheck |
1,644 |
cppcheck --HEAD |
1 |
Installs on Request (30 days) | |
cppcheck |
1,644 |
cppcheck --HEAD |
1 |
Build Errors (30 days) | |
cppcheck |
0 |
Installs (90 days) | |
cppcheck |
5,377 |
cppcheck --HEAD |
6 |
Installs on Request (90 days) | |
cppcheck |
5,378 |
cppcheck --HEAD |
6 |
Installs (365 days) | |
cppcheck |
24,170 |
cppcheck --HEAD |
28 |
Installs on Request (365 days) | |
cppcheck |
24,168 |
cppcheck --HEAD |
28 |