johnthagen / clion-cppcheck

:ballot_box_with_check: cppcheck plugin for CLion

Home Page:https://plugins.jetbrains.com/plugin/8143-cppcheck/

Repository from Github https://github.comjohnthagen/clion-cppcheckRepository from Github https://github.comjohnthagen/clion-cppcheck

Improve batch analysis behavior

firewave opened this issue · comments

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.

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.