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 17 Current »

Deprecated

Icon

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

Description / Features

Computes a new metric named violation density. This is kind of the "opposite" of the rule compliance metric. The rule compliance metric's formula is: max(0, 100 - weighted_violations / Lines of code * 100). 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 the Rules Compliance one.

Installation

  1. Install the plugin through the Update Center or download it into the SONARQUBE_HOME/extensions/plugins directory
  2. Restart the SonarQube server

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

Loading

Version 1.2 (1 issues)

 

Loading

Version 1.1 (1 issues)

 

Loading

Version 1.0 (1 issues)

  • No labels