Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 122 Next »

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

Artifact Size

Metric

Report the size of the project artifact

Build Breaker

Continuous integration

Makes the build fail if some alert thresholds are hit. 

Emma

Test coverage

Use Emma to measure code coverage of unit tests.

GreenPepper

Executable specifications

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.

Hudson

Continuous Integration

Launch Sonar analysis from the well-known open-source CI engine : Hudson

Bamboo

Continuous Integration

Launch Sonar analysis from Atlassian's CI engine : Bamboo

JIRA

Report

Retrieve number of issues from JIRA.

Maven report

Maven site

Add a link in the Maven site to the Sonar project dashboard 

Isotrol MetricsAnalytics

Report

Analyzes the Total Quality related to your Java code. Using this plugin you can visualize your Java code from different points of view: Architecture Quality (normalized distance from main sequence, cycle number, etc.); Design Quality (CBO, DIT, NOC, RFC, etc.); Code Quality (comments, duplicated lines, complexity cyclomatic, etc.); Test Quality (code coverage, etc.)

PDF Report

Report

Communicate quality analysis through PDF reports 

PL/SQL 

Language 

Analyze PL/SQL projects as well as PL/SQL code within Oracle Forms 

Rules Meter

Reporting

This plugin gives information on the activated profile for a project

Security Rules

Metric

Report the number of violations of security rules

Taglist

Rules engine

Generates a report on various tags found in the code, like @todo or //FIXME tags

Technical debt

Report

Calculates the technical debt on each component based on every quality axis (comments, duplications, coverage, complexity...)

Under development

Name

Type

Description

PHP

Language

Use PHPUnit, PHPDepend, PHPCodeSniffer and others to analye PHP sources.

Clirr

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.

SonarTwitt

Report

A plugin for Sonar to post information on Tweeter.

Testability Explorer

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

Hammurapi

Report

Integration of Hammurapi, a code review system that captures coding best practices

JLint

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!

CPP

Language

Analyze C and C++ languages

Jtest

Language

Integration of JTest from Parasoft

SIG MM

Report

Evaluation of the SIG Maintainability Model

Squid GUI

Graphical Interface

This is a swing application that drives the Squid API in order to get measures realtime

Authorization

Security

This plugin enables to activate security within Sonar

Motion chart

Report

See how a set of metrics evolve over time (SONARPLUGINS-1)  

Radiator

Report

Renders projects in Sonar as a big treemap (SONARPLUGINS-55)  

Timeline

Report

Renders project metrics history in Sonar using a Google timeline chart (SONARPLUGINS-222)  

Quality Index

Report

Calculate a global Quality Index, based on coding rules, Style, Complexity and Coverage

Isotrol MetriC++

Language

Analyze C++ language

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

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

Metrics list

Report

Reports on the complete list of metrics store in Sonar

Build Stability

Report

Gets and reports information on the project build stability

TestNG

Unit tests

TestNG is only supported in Maven projects (via Surefire), but not in other kinds of projects (when sonar.dynamicAnalysis=reuseReport).

Metrics list

Report

Gives a page of the list of available metrics in Sonar

FOSSology

Report

License analysis by integrating http://fossology.org/

How to contribute

  1. Create an account at Codehaus
  2. Subscribe to dev@sonar.codehaus.org
  3. 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.
  • No labels