cppcheck

Install command:
brew install cppcheck

Static analysis of C and C++ code

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

License: GPL-3.0-or-later

Development: Pull requests

Formula JSON API: /api/formula/cppcheck.json

Formula code: cppcheck.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 2.21.0
head ⚡️ HEAD

Depends on:

tinyxml2 11.0.0 Improved tinyxml (in memory efficiency and size)

Depends on when building from source:

cmake 4.4.2 Cross-platform make
python@3.14 3.14.6 Interpreted, interactive, object-oriented programming language

Analytics:

30 days90 days365 days
Installs1,5374,97718,500
Installs (--HEAD)21025
Installs on Request1,5374,97718,499
Installs on Request (--HEAD)21025
Build Errors0