CppCheck - How To Set up Visual Studio Code (VS Code) on Windows to use CppCheck static analysis

preview_player
Показать описание
In this video I will show you how to set up Visual Studio Code (VS code) on windows to use cppcheck code static analysis tool.

Cppcheck is a static analysis tool for C/C++ code. It provides unique code analysis to detect bugs and focuses on detecting undefined behavior and dangerous coding constructs. The goal is to have very few false positives. Cppcheck is designed to be able to analyze your C/C++ code even if it has non-standard syntax (common in embedded projects).

Visual Studio Code is a code editor redefined and optimized for building and debugging all kind of applications
Рекомендации по теме
Комментарии
Автор

Hello Sir,

I followed your tutorial on windows machine, But i am not able get code analysis. i get few errors on vs code like shown below
" Line could not be parsed: Active checkers: 172/565 (use --checkers-report=<filename> to see details)' while validating: "
"Please analyze the 'C/C++ FlyLint' Output console. Stacktrace: Error: Line could not be parsed: Active checkers: 172/565 (use --checkers-report=<filename> to see details) at" and on.

if you had faced a simliar issue and solved it can you please guide me through.

Thanks in advance

abhinavks
Автор

Thanks. Now how to run analysis on entire project folder with certain files / folders excluded?

michaeleconomides
Автор

Thanks a lot sir... can you do also a video for using the addons MISRA and maybe integrating in visual studio code ? Thanks

simonegasparella