Description / Features
The plugin evaluates how much technical debt a project is in. It consists of 4 advanced measures :
Clicking on an indicator brings the usual drill down.
The debt is first calculated on the basic axis : Duplication, Violations, Complexity, Coverage, Documentation and Design.
It is then summed up to provide a global measure.
Full details of axes calculation are available here.
The debt ratio
The debt ratio gives a percentage of the current technical debt of the project versus the total possible debt for the project.
It enables to better compare projects. Indeed having $ 10,000 debt on a "small" project does not mean the same as the same debt on a big project.
The cost to reimburse
This gives in $$ what it would cost to clean all defects on every axis (no more violations, no more duplications...).
The work to reimburse
This is the cost to reimburse expressed in man days.
This gives through a pie chart a view of the debt distribution across the 6 quality axis.
Usage & Installation
- Copy the jar into /extensions/plugins/ directory
- Restart Sonar Web server
- Launch a new quality analysis and the technical debt metrics will be fed
A significant improvement to the would be to gather manual measures : see SONARPLUGINS-91. Indeed this would enable to record other technical debts that are not gathered by Sonar to get a complete view.
Having a real cost to resolve for each rule would add a lot accuracy.
Release 1.0 (3 issues)
|SONARPLUGINS-340||Create a new "Design & Architecture" axis in the Technical Debt plugin||Closed||Fixed|
|SONARPLUGINS-285||Technical debt is wrongly sorted in the drill down||Closed||Fixed|
|SONARPLUGINS-281||Cyclomatic Complexity Should be Inherited and/or Configurable||Closed||Fixed|
Release 0.4 (2 issues)
|SONARPLUGINS-276||Pie chart goes crazy with big values||Closed||Fixed|
|SONARPLUGINS-192||Technical Debt should have green/red arrows||Closed||Fixed|
Release 0.3 (8 issues)
|SONARPLUGINS-184||Help button does not show up on non-standalone Sonar installations||Closed||Fixed|
|SONARPLUGINS-147||Do not insert a measure when zero||Closed||Fixed|
|SONARPLUGINS-145||Upgrade to Sonar 1.10 API||Closed||Fixed|
|SONARPLUGINS-113||Display the formula in the dashboard as a tooltip or with a link||Closed||Fixed|
|SONARPLUGINS-98||Axes should not be shown in the repartition when value is zero||Closed||Fixed|
|SONARPLUGINS-96||Use piechart defined in the API||Closed||Fixed|
|SONARPLUGINS-94||Add a density dimension to the Technical Debt||Closed||Fixed|
Release 0.2 (2 issues)
|SONARPLUGINS-108||Set 80% as an objective for code coverage||Closed||Fixed|
|SONARPLUGINS-102||Improve the widget looking when no debt has been calculated||Closed||Fixed|