Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning
titleDeprecated

This plugin is deprecated because it is based on the Rules Compliance metric that is deprecated since SonarQube 4.1.

 

 

Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/violationdensity.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe}

Description / Features

Compute Computes a new metric named violation density. This is kind of the "opposite" for of the rule compliance metric. Rule The rule compliance metric's formula is: max(0, 100 - weighted_violations / Lines of code * 100). Violation The violation density metric's formula is: weighted_violations / Lines of code * 100. The main advantage is that bad projects can always be compared ( because the formula allow metric values to exceed 100% while rule compliance can never be under 0%).

The new metric key is: violation_index

There is a new widget to replace Rule the Rules Compliance widgetone.

Usage and installation

  1. Stop Sonar Web server
  2. Place the jar into the /extensions/plugins directory
  3. Restart Sonar Web server
  4. Configure filter to replace Rule Compliance column by Violation Density column
  5. Configure dashboard to replace Rule Compliance widget by Violation Density widget

...

Include Page
Include - Plugin Installation
Include - Plugin Installation

Usage

  1. Configure your filter(s) to replace the Rules Compliance column by the Violation Density one.
  2. Configure your dashboard(s) to replace the Rules Compliance widget by the Violation Density one.

Change Log

JIRA Issues
anonymoustrue
title

...

Version 1.2
height50
renderModestatic
width

...

900
columnstype;key;summary;priority

...

urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18089&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
title

...

Version 1.1
height50
renderModestatic
width

...

900
columnstype;key;summary;priority

...

urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18038&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
title

...

Version 1.0
height50
renderModestatic
width

...

900
columnstype;key;summary;priority

...

urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=17644&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000