cppcheck

Install command:
brew install cppcheck

Static analysis of C and C++ code

https://sourceforge.net/projects/cppcheck/

License: GPL-3.0-or-later

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

Formula code on GitHub

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

Intel big sur
catalina
mojave
Apple Silicon big sur

Current versions:

stable 2.4.1
head ⚡️ HEAD

Depends on:

pcre 8.44 Perl compatible regular expressions library

Depends on when building from source:

cmake 3.20.1 Cross-platform make
python@3.9 3.9.4 Interpreted, interactive, object-oriented programming language

Analytics:

Installs (30 days)
cppcheck 2,584
Installs on Request (30 days)
cppcheck 2,562
Build Errors (30 days)
cppcheck 0
Installs (90 days)
cppcheck 4,741
Installs on Request (90 days)
cppcheck 4,712
Installs (365 days)
cppcheck 19,866
cppcheck --HEAD 67
Installs on Request (365 days)
cppcheck 19,343
cppcheck --HEAD 66
Fork me on GitHub