johnthagen / clion-cppcheck

:ballot_box_with_check: cppcheck plugin for CLion
https://plugins.jetbrains.com/plugin/8143-cppcheck/
MIT License
31 stars 6 forks source link

Improve batch analysis behavior #54

Open firewave opened 3 years ago

firewave commented 3 years ago

Currently the batch analysis is just a batch of on-the-fly inspections. So if you pass a folder to it you will get different results as if you passed a folder to Cppcheck.

We are also ignoring findings on header (.h) files which are reported while analyzing a source file. These findings need to be reported in the batch analysis as well.

firewave commented 3 years ago

It seems if you select a folder it will process the whole folder on the filesystem and not just the project files in that folder which may lead to unexpected findings being reported.