cppcheck

Static analysis of C and C++ code

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

Current versions:

stable 1.83
head ⚡️ HEAD
bottle 🍾 high_sierra, sierra, el_capitan

Options:

--without-rules Build without rules (no pcre dependency)
--with-qt Build the cppcheck GUI (requires Qt)

Depends on:

pcre++ 0.9.5 C++ wrapper for the Perl Compatible Regular Expressions

Depends on optionally:

qt 5.11.0 Cross-platform application and UI framework

JSON API for cppcheck

Formula code on GitHub

Fork me on GitHub