Description / Features
Compute a new metric named violation density. This is kind of "opposite" for rule compliance metric. Rule compliance metric formula is: max(0, 100 - weighted_violations / Lines of code * 100). Violation density metric formula is: weighted_violations / Lines of code * 100. The main advantage is that bad projects can always be compared (because the formula allow to exceed 100% while rule compliance can never be under 0%).
The new metric key is:
There is a new widget to replace the Rules Compliance one.
- Install the plugin through the Update Center or download it into the SONARQUBE_HOME/extensions/plugins directory
- Restart the SonarQube server
- Configure you filter(s) to replace the Rules Compliance column by the Violation Density one.
- Configure your dashboard(s) to replace the Rules Compliance widget by the Violation Density one.
Version 1.2 (1 issues)
Version 1.1 (1 issues)