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)

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

Formula code on GitHub

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

Intel big sur
catalina
mojave
64-bit linux
Apple Silicon big sur

Current versions:

stable 2.5
head ⚡️ HEAD

Revision: 1

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.1 Cross-platform make
python@3.9 3.9.6 Interpreted, interactive, object-oriented programming language

Analytics:

Installs (30 days)
cppcheck 2,684
Installs on Request (30 days)
cppcheck 2,666
Build Errors (30 days)
cppcheck 1
Installs (90 days)
cppcheck 4,485
Installs on Request (90 days)
cppcheck 4,443
Installs (365 days)
cppcheck 19,035
Installs on Request (365 days)
cppcheck 18,753
Fork me on GitHub