Message-ID: <2145739065.453.1427724949789.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_452_655604025.1427724949788" ------=_Part_452_655604025.1427724949788 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The Issues Report plugin provides the ability to generate HTML report on= issues.
The main use case is for developers to check the code they have added or= changed before pushing it back to the SCM.
Here's an example of HTML report (you can download the full report here):
Issues can then be filtered by severity, new issues only, etc.= =20 =20
As the main use case is for developers to check the code they have added= or changed before pushing it back to the SCM, the Issues Report plugin is = usually used in preview mode. T= his is this usage that is detailed below.
Install your favorite analyzer (SonarQube Runn=
er, Maven or Ant)=
on your local machine. You only have to set the
/code> property to point to your remote SonarQube server (connection s=
ettings to the remote database do not have to be provided for a preview ana=
lysis as no data is pushed to the database). Note that you don't need =
to install any SonarQube server on your local machine.
Copy the configuration file (sonar-project.properties, pom.=
xml, etc.) that is used to analyze the project on the remote server to=
your local machine. Make sure that the
perty refers to the directory containing the source code on your local mach=
ine (or update it accordingly). The tree structure of the source code on yo=
ur local machine must match the tree structure that has been remotely analy=
zed by SonarQube.
To get an HTML report, set the
sonar.issuesReport.html.enable property to
true. To define its location, set the
ar.issuesReport.html.location property to an absolute or relative pa=
th to the destination folder for the HTML report. The default value is =
.sonar/issues-report/ for the SonarQube Runner and Ant, and t=
arget/sonar/issues-report/ for Maven. By default 2 html reports are ge=
The light report is useful when working on legacy projects with a lot of=
many issues, since the full report may be hard to display in your web brow=
ser. You can skip full report generation using property
You can also configure the filename of the generated html reports using =
To display a short report in the console, set the
rt.console.enable property to true:
Finally, run a preview analysis that generates an HTML report:
Even more useful, you can limit the scope of the analysis to the files t= hat have been recently created or modified (i.e. incremental mode):