cppcheck

Compatible with IntelliJ IDEA (Ultimate, Community), Android Studio and 16 more
Screenshot 1
A plugin for JetBrains IDEs to provide inspections for C/C++ files utilizing the static analyzer Cppcheck.

Features:
  • Runs Cppcheck on the fly while you write code
  • Highlights lines and displays Cppcheck error messages
  • Supports passing options to Cppcheck

Usage:
Please refer to Installation.
Known issues:
Please refer to Known Issues.

What’s New

- Fixed `no location` error notifications for `checkersReport` when `information` is enabled.
Jan 03, 2025
Version 1.6.6

Rating & Reviews

3.5
7 Ratings (58,530 Downloads)
5
4
3
2
1

Vu Le

19.10.2022

Plugin works great with CLion 2022.1 and cppcheck 2.9. I like the code annotations and ability to use code inspection window. I would like to see it also work with Changes tab so I can analyze my changes only.

0

andrei

07.04.2021

Please check if the plugin works with latest CLion (>=2020.3). For me it says "No suspicious code found". Though for some earlier version it was working. Tested with both 1.5.1 and 1.6.0 (master)

0

mumin guler

06.06.2020

not working plug in

os: Ubuntu 20.04 LTS cppcheck version : 2.0 clion version : 2020.1.2

ExecutionException: Cppcheck Error : Exit Code – 1 : /snap/bin/cppcheck “–template=[{file}:{line}]: ({severity}) {id}: {message}” -I/home/x64/project1 –enable=warning,performance,portability,style –language=c++ /tmp/___main.cpp

0

Additional Information

Vendor:
John Hagen(Non-trader)
Copyright:
Plugin ID:
com.github.johnthagen.cppcheck