Possible to disable C++ static analysis but have coverage reporting?

Hi all,

I’m wondering if it’s possible to disable C++ static analysis altogether, but keep test coverage reports?

Right now as a workaround I’m using empty quality profiles for C/C++; however, build captures are still required for the scanner to be able to run. Is there a better way to achieve this, if possible?

We’re running SonarQube 8.2 with cfamily plugin, and our SonarScanner version is 3.2.

Thanks!

Hi @0xfff0,

no, it is currently not possible, why would you like to do that?

Hello @mpaladin,

Thank you, good to know. We use an external analyzer for static analysis, but would still like to have coverage data on SonarQube.

Hi @0xfff0,

what edition of SonarQube are you using? If you have cfamily plugin why not using it for static analysis too?