Sonar Scanner slow


I have set up a SonarQube 7.9.1 LTS installation to monitor code quality of some large C++ projects. Static code analysis is carried out by Visual Studio Static Code Analyzer. Analysis results are forwarded to SonarQube via sonar-cxx plugin (some beta version that is compatible with SonarQube 7.9.1) as described in the Wiki and the SonarScanner (not SonarScanner for MSBuild).

My only problem is that calling

sonar-scanner.bat -D sonar.scm.disabled=true -X

is very slow, about one hour for a project with more than 1.000.000 actual lines of code. Is there any way to speed-up or tune SonarSanner?

Cheers, Heiko

Hi Heiko,

The cxx plugin is not supported in this community. If you’re having issues with it, you need to take them to that community.