cppcheck (devel/cppcheck) Updated: 2 months, 3 weeks ago Add to my watchlist

Static analysis of C and C++ code.

Cppcheck is an analysis tool for C and C++ code. Unlike compilers and many other analysis tools, we do not detect syntax errors. Cppcheck only detects the types of bugs that the compilers normally fail to detect. The goal is no false positives.

Version: 2.11.1 License: GPL-3 GitHub
Maintainers kurthindenburg
Categories devel
Homepage https://github.com/danmar/cppcheck
Platforms darwin
  • universal (Build for multiple architectures)

"cppcheck" depends on

lib (3)
build (4)

Ports that depend on "cppcheck"

Port notes

If you've updated cppcheck from a previous version, you may want to replace the included config files:

sudo find ${prefix}/share/cppcheck -type f -name "*.dist" -exec bash -c 'f="{}"; cp "$f" "${f%.dist}"' \;

Port Health:

Loading Port Health

Installations (30 days)


Requested Installations (30 days)


Livecheck results

cppcheck seems to have been updated (port version: 2.11.1, new version: 2.12.1)

livecheck ran: 1 day, 18 hours ago