Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to use CPPCheck with Eclipse CDT

📅 2015-Jun-11 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ cpp, cppcheck, cppcheclipse, eclipse, eclipse cdt, plugin, static analysis ⬩ 📚 Archive

The biggest problem of C++ code is bugs. Bugs can slip through even when compiling code with all warnings turned on. A useful tool in the arsenal of a C++ programmer is CPPCheck, a static analysis tool. You are in luck if you are using Eclipse CDT because the CPPChEclipse plugin makes using CPPCheck with your C++ project very easy.

$ sudo apt install cppcheck

Tried with: CPPCheck 1.61, CPPChEclipse 1.0.0, Eclipse 4.4.2 and Ubuntu 14.04