Install command:
brew install cppcheck

Static analysis of C and C++ code


License: GPL-3.0-or-later

/api/formula/cppcheck.json (JSON API)

/api/bottle/cppcheck.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
64-bit linux
Apple Silicon big sur

Current versions:

stable 2.6
head ⚡️ HEAD

Depends on:

pcre 8.45 Perl compatible regular expressions library
tinyxml2 9.0.0 Improved tinyxml (in memory efficiency and size)

Depends on when building from source:

cmake 3.21.3 Cross-platform make
python@3.9 3.9.7 Interpreted, interactive, object-oriented programming language


Installs (30 days)
cppcheck 2,336
Installs on Request (30 days)
cppcheck 2,314
Build Errors (30 days)
cppcheck 0
Installs (90 days)
cppcheck 5,242
cppcheck --HEAD 3
Installs on Request (90 days)
cppcheck 5,198
cppcheck --HEAD 3
Installs (365 days)
cppcheck 19,475
cppcheck --HEAD 4
Installs on Request (365 days)
cppcheck 19,302
cppcheck --HEAD 4
Fork me on GitHub