Description / Features
The Issues Report plugin provides the ability to run local Sonar analyses. The main use case is for a developer to check its code before pushing it to the SCM.
It generates an HTML report that displays a list of violations that can be filtered by severity, new violations only, etc.
It support all languages.
Here's an example of HTML report that you can download:
- Install the Issues Report plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
- Restart the Sonar server
To run the analysis without pushing the results to the database, set the 'sonar.dryRun' to 'true'. Then, the analysis will be run locally.
To get a local report:
- To generate an HTML report, set the property 'sonar.issuesReport.html.enable' to 'true'
- To set the localtion of this report, set the property 'sonar.issuesReport.html.location' (default is .sonar/issues-report.html)
- To display a short report on the console, set the 'sonar.issuesReport.console.enable' to 'true'