| Name | Sonar Gadget |
|---|---|
| Version | 0.0.5 |
| Product Versions | Jira 4.x |
| Author(s) | Ross Rowe |
| Homepage | http://confluence.atlassian.com/display/CODEGEIST/Sonar+Gadget |
| Price | Free |
| License | Apache2 |
| JavaDocs | sonar-gadget-javadoc.zip |
| IssueTracking | TBA |
| Subversion URL | https://svn.atlassian.com/svn/public/contrib/gadgets/sonar-gadget or browse via fisheye |
| Download JAR | sonar-gadget-0.1.0.jar |
| Download Source | sonar-gadget-src.zip |
Description/Features
A set of gadgets that integrate Sonar information within a dashboard. By incorporating one or more gadgets that display the code quality metrics within a Dashboard (that could also include details of your Bamboo builds, Jira issues, etc), all the members of your team can quickly get a picture as to how your project is travelling.
This plugin currently only supports Jira 4, but I intend to update the plugin to support Bamboo 2.4 as soon as it's released (which should include Gadget support).
In the fullness of time, I think it would be better to have these Gadgets available within Sonar itself by packaging them as a Sonar Plugin.
Installation
The gadgets can be installed within Jira by copying the attached sonar-gadget-0.1.0.jar file into your JIRA_HOME/plugins/installed-plugins/ and restart Jira. Once Jira has restarted, you should now be able to add a Sonar Gadget on a Dashboard via the 'Add Gadget' button.

Usage
Once a Gadget has been added to a Dashboard, it will need to be configured to point to an appropriate Sonar instance and project. Enter the URL of the Sonar instance and the specific project key into the fields displayed on the Gadget.

|
The Sonar Project Id can be found on the Sonar Project Dashboard page. |
|
Gadgets
The following Gadgets are included with the plugin:
Code Coverage
|
This gadget displays information about the Code Coverage results that are included within the Sonar environment (either generated using Clover or Cobertura). |
|
Line Counts
|
This gadget displays information about the number of classes, packages and lines of code, as well as comments and duplications. |
|
Complexity
|
This gadget displays information about the complexity of the source code that is included within the Sonar analysis. |
|
Radiator
|
This gadget incorporates the Sonar Radiator plugin, which displays a 'heat map' of metrics. The size and color of metrics can be controlled via the drop down lists. |
|
Version History
| Version | Date | Description |
|---|---|---|
| 0.1.0 | 17 Oct 2009 | Added some javadoc comments and unit tests |
| 0.0.5 | 12 Oct 2009 | Added ability to switch between Class and Method complexity graphs |
| 0.0.4 | 11 Oct 2009 | Added support for the Sonar Radiator plugin |
| 0.0.3 | 10 Oct 2009 | Ensure that messages use i18n support, and include up/down arrows indicating trends |
| 0.0.2 | 7 Oct 2009 | Included initial support for complexity gadget (including charts) |
| 0.0.1 | 5 Oct 2009 | Initial version of plugin |





