This is the list of frequently asked questions on the user mailing-list.
|Question / Problem||Answer / Possible Resolution|
|I don't see any violations after running a SonarQube analysis|
The C++ Community Plugin does not run any static analysis tools itself, make sure that the reports are generated before the analysis (see Running tools).
Be certain the properties are correctly set and the used paths are relative to the project root.
Be sure that the tools are run in the same location as the analysis. And that you dont move reports between locations with different paths.
|I still dont see any Cppcheck violations in SonarQube||Cppcheck supports two different formats for XML reports: 'version 1' and 'version 2'. Make sure you use the former.|
|SonarQube fails to start with error messages: Cannot insert duplicate key row in object 'dbo.rules'|
This problem can occur when using MS SQL database if set to be case insensitive. Make sure database is set to be case sensitive and restart SonarQube.
For more information check database requirements for SonarQube: Requirements
If you cannot find your problem described here please follow these instructions:
- Try to find a solution using the list of issues at the end of this page
- Run analysis with debug information:
mvn sonar:sonar -X > logor
sonar-runner -X > log
- Analyse the resulting log file and try to find obvious errors
- If nothing helps, please describe your problem on the user mailing list and use the debug log file as reference
Complete List of Jira Issues