Your browser does not support iframes.
Description / Features
The Issues Report plugin provides the ability to run local analyses on your machine. The main use case is for a developer to check his/her code before pushing it to the SCM.
It generates an HTML report that displays a list of issues that can be filtered by severity, new issues only, etc.
It supports all languages.
Here's an example of HTML report that you can download:
Sonar Eclipse Plugin
- Install the plugin through the Update Center or download it into the SONARQUBE_HOME/extensions/plugins directory
- Restart the SonarQube server
Then, copy on your local machine the analysis configuration file of the project to analyze. Make sure that the
sonar.sources property refers to the directory containing your source code. The tree structure of the source code on your local machine must match the tree structure that has been remotely analyzed by SonarQube. Finally, run a local analysis:
To get a local report:
- To get an HTML report, set the
true. To set the location of the HTML report, set the
sonar.issuesReport.html.locationproperty: absolute or relative path to the SonarQube working directory; default is .sonar/issues-report.html for the SonarQube Runner and Ant, target/sonar/issues-report.html for Maven.
- To display a short report in the console, set the
sonar.inclusionsproperty can be set.
Multi-module project compatibility