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 |
|
Language |
Enables to analyze PL/SQL projects as well as PL/SQL code within Oracle forms |
|
Report |
Enables to to cover architecture and design using JDepend and Ckjm |
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. |
|
Report |
A plugin for Sonar to post information on Tweeter. |
|
Report |
Integration of Testability-explorer, a tool which analyzes Java bytecode and computes how difficult it will be to write unit tests for the code |
|
Report |
Integration of Hammurapi, a code review system that captures coding best practices |
|
Rules engine |
Jlint will check your Java code and find bugs, inconsistencies and synchronization problems by doing data flow analysis and building the lock graph. Jlint is extremely fast - even on large projects, it requires only one second to check all classes! It is easy to learn and requires no changes to the class files. Jlint has been used in an industrial environment and successfully uncovered faults with little effort! |
|
Language |
Analyze C and C++ languages |
|
Language |
Integration of JTest from Parasoft |
|
Report |
Evaluation of the SIG Maintainability Index |
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 |
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.

