You can use Sonar plugins to add new features to Sonar, cover new languages, add report capabilities and more.
Browse through the following user-contributed plugins or Create your own!
Plugins
Name |
Type |
Description |
|---|---|---|
Continuous Integration |
Launch Sonar analysis from the best Open Source CI engine : Hudson |
|
Test coverage |
Use Emma to measure the code coverage of your unit tests instead of Clover or Cobertura which are embedded by default with Sonar |
|
Maven site |
Add a link in the Maven site to the Sonar project dashboard |
|
Report |
Communicate quality analysis through PDF reports |
|
Rules engine |
Generates a report on various tags found in the code, like |
|
Report |
Calculates a technical debt on each component based on every quality axis (comments, duplications, coverage, complexity...) and aggregates it in the dashboard |
Under development
Name |
Type |
Description |
|---|---|---|
Language |
Use PHPUnit, PHPDepend, PHPCodeSniffer and others to analye PHP sources. |
|
Executable specificatons |
GreenPepper is a collaboration platform to help business experts and developers create executable specificatons in order to build the right software. This plugin collect test results provided by GreenPepper Maven plugin to feed Sonar. |
|
Rules engine |
Clirr is a tool that checks Java libraries for binary and source compatibility with older releases. In a continuous integration process Clirr can automatically prevent accidental introduction of binary or source compatibility problems. This Sonar plugin measures the number of API break violations between the current sources and the last known stable version of the library in the Maven repository. |
|
Report |
Retrieve data project from a JIRA server. |
Would be great
You'd like to contribute to Sonar development but don't have a killer idea to start from. Here are several suggestions of possible plugins :
Name |
Type |
Description |
|---|---|---|
Motion chart |
Report |
See how a set of metrics evolve over time (SONARPLUGINS-1) |
Macker |
Rules engine |
Use Macker to define and check architectural rules (SONARPLUGINS-35) |
Developer Activity |
Report |
Display trends of commits and breakdowns this information by developer (number of commits and number of touched files) |
Maven dependencies visualization |
Report |
Display the graph of dependencies of a Maven project with help of Graphiz |
Testability Explorer |
Report |
Integration Testability-explorer, a tool which analyzes Java bytecode and computes how difficult it will be to write unit tests for the code (SONARPLUGIN-40) |
Class Cycle Analysis |
Report |
Use Classycle to find cyclic dependencies |
How to contribute
- Create an account at Codehaus
- Subscribe to dev@sonar.codehaus.org
- Send e-mail to dev@sonar.codehaus.org and tell us your Codehaus ID, so that we can give you a commit access to subversion.

