Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/pdfreport-confluence.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe}

If you are happy with PDF Plugin then you could recommend it.

There is also Commercial edition supported by klicap.

Description / Features

This plugin allows you to generate a project quality report in PDF format with the most relevant information from SonarQube web interface. The report aims to be a deliverable as part of project documentation.
The report contains:

...

This plugin can be used as a Maven plugin (installation in SonarQube not required) or as a SonarQube plugin.

SonarQube Plugin (recommended)

SonarQube PDF can be used as a plugin of SonarQube modeling a post-job work. In this way, a PDF report is generated after each analysis in SonarQube (mvn sonar:sonar includes the generation of the report).
  

Configuration

You can skip report generation or select report type (executive or workbook) globally or at the project level. You can also provide an username/password if your project is secured by SonarQube user management:

Image Added

Download the report

PDF report can be downloaded from the SonarQube GUI: Image Added

Maven Plugin

First First analyze your  your project in SonarQube. Then run the generate goal (the report will be created in the target directory):

Code Block
 mvn org.codehaus.sonar-plugins.pdf-report:maven-pdfreport-plugin:1.3:generate

Available properties (-Dproperty=value)

  • sonar.host.url: SonarQube server URL (i.e http://my-host:9000/sonar)
  • sonar.branch (-Dbranch is also supported): report on a project branch
  • report.type: select a report type. Values:
    • -Dreport.type=executive
    • -Dreport.type=workbook (default)
  • sonar.pdf.username: username for access WS API
  • sonar.pdf.password: password for the user

If your SonarQube server URL is is http://localhost:9000 you  you don't need to specify specify sonar.host.url.

SonarQube Plugin (post-job)

SonarQube PDF can be used as a plugin of SonarQube modeling a post-job work. In this way, a PDF report is generated after each analysis in SonarQube (mvn sonar:sonar includes the generation of the report).
  

Configuration

You can skip report generation or select report type (executive or workbook) globally or at the project level. You can also provide an username/password if your project is secured by SonarQube user management:

Image Removed

Download the report

PDF report can be downloaded from the SonarQube GUI: Image Removed

ChangelogChangelog

Release 1.3.2

JIRA
columnskey,summary,type,priority
serverjira.codehaus.org
serverId783251d2-f893-303d-8e04-42a47af1ca3a
jqlQueryproject = SONARPLUGINS AND fixVersion = "PDF-REPORT-1.3.2" AND status = Resolved

 

JIRA Issues
anonymoustrue
titleRelease 1.3.1
height70
width900
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=19241&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

...