How to scan C++ language

I am using sonar scanner to scan C++ language, however, I find them inefficient, as it can only check errors of html, js, xml files
this is my config
sh "sonar-scanner " +
"-Dsonar.login=${token_sonarqube} " +
"-Dsonar.host.url=${sonar_host_url} " +
"-Dsonar.projectKey=${project} " +
"-Dsonar.projectName=${project} " +
“-Dsonar.branch.name=${branch}” +
"-Dsonar.sourceEncoding=UTF-8 " +
"-Dsonar.sources=. " +
“-Dsonar.projectVersion=${currentBuild.number}_${branch}”
How can I scan the C++ language, thanks U

Hi,

C++ analysis starts in Developer Edition($). If you’re already set up with Developer Edition, the docs will get you started with analysis.

 
HTH,
Ann