cppcheck

A static analysis tool for C/C++ code. Instead of syntax errors, it focuses on the types of bugs that compilers normally do not detect. More information: <http://cppcheck.sourceforge.net>.

Debian Debian
RUN apt-get update && \ apt-get install -y cppcheck
Ubuntu
RUN apt-get update && \ apt-get install -y cppcheck
Alpine
RUN apk add cppcheck
Arch Arch Linux
RUN pacman -S --noconfirm cppcheck
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y cppcheck
Fedora
RUN dnf install -y cppcheck
Raspbian
RUN apt-get update && \ apt-get install -y cppcheck
click the source code to copy install cppcheck on any operating system with command-not-found.com