- 
                Notifications
    
You must be signed in to change notification settings  - Fork 365
 
sonar.cxx.reportPaths
        guwirth edited this page Mar 10, 2021 
        ·
        4 revisions
      
    Sensor to read reports from the TODO tool. TODO
Note: The cxx plugin itself does not run the tool, you have to do that yourself beforehand. The sensor only reads the report generated by the tool!
- Link to the tool page: TODO
 - The sensor supports rules from TODO with version TODO.
 
In order to run TODO and generate a fitting report, make sure:
- to call it from the projects root directory, so that the paths in the report fit
 - that the parameter matches the 
sonar.sourceslist insonar-project.properties 
Sample command lines:
TODOIf the tool was executed successfully, a report like the example below should be generated:
TODO- First check if the file extensions read in by the cxx plugin are set (sonar.cxx.file.suffixes).
 - The rules for which you want to generate issue must be activated in the Quality Profile of your project. You can find instructions on how to do this under Manage Quality Profiles.
 - Set the analysis parameter 
TODOin the configuration filesonar-project.propertiesof your project. The Report Paths link describes the configuration options. - Execute the SonarScanner to transfer the project with the report to the SonarQube Server.
 
Sample for sonar-project.properties:
TODO- If scanning is failing, check items listed under Troubleshooting Configuration.
 - If no issues are displayed for your source code in SonarQube, check the items listed under Troubleshooting Reports.
 - In the case of incomplete scans, Detect and fix parsing errors gives advice on how to fix this.