Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/technicaldebt.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe}

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.

The breakdown

This gives through a pie chart a view of the debt distribution across the 6 quality axis.

Usage & Installation

  1. Copy the jar into /extensions/plugins/ directory
  2. Restart Sonar Web server
  3. Launch a new quality analysis and the technical debt metrics will be fed

Known limitations

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.

Changelog

JIRA Issues
anonymoustrue
titleRelease 1.2.1
height70
width900
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=17235&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000


JIRA Issues
anonymoustrue
titleRelease 1.2
height120
width900
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=17037&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000


JIRA Issues
anonymoustrue
titleRelease 1.1
height90
width900
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=17025&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000


JIRA Issues
anonymoustrue
titleRelease 1.0.1
height90
width900
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16266&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000


JIRA Issues
anonymoustrue
titleRelease 1.0
height115
width900
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16266&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000


JIRA Issues
anonymoustrue
titleRelease 0.4
height110
width900
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=15587&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000


JIRA Issues
anonymoustrue
titleRelease 0.3
height270
width900
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=15468&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000


JIRA Issues
anonymoustrue
titleRelease 0.2
height95
width900
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=15349&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000