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:

Apple Silicon sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 2.13.0
head ⚡️ HEAD

Revision: 1

Depends on:

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

Depends on when building from source:

cmake 3.28.3 Cross-platform make
python@3.12 3.12.2 Interpreted, interactive, object-oriented programming language

Analytics:

Installs (30 days)
cppcheck 1,883
Installs on Request (30 days)
cppcheck 1,879
Build Errors (30 days)
cppcheck 1
Installs (90 days)
cppcheck 4,738
cppcheck --HEAD 5
Installs on Request (90 days)
cppcheck 4,729
cppcheck --HEAD 5
Installs (365 days)
cppcheck 15,058
cppcheck --HEAD 18
Installs on Request (365 days)
cppcheck 15,031
cppcheck --HEAD 18
Fork me on GitHub