Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/uselesscodetracker-confluence.html|width=700|height=250350|frameborder=0}
Your browser does not support iframes.
{iframe}
Warning

Due to SONAR-5765 which is fixed in version 4.5.1, the Useless Code Tracker plugin doesn't compute any measure with SonarQube 4.5.

Description / Features

The objective of this plugin is to report on the number of lines that can be reduced in an application. It currently works on 3 axes:

...

2. Report on the number of lines of dead code that could be reduced (only for Java and not available from 4.2)
Currently SonarQube reports on the number of unsused private method within your application. This can be done through the PMD:UnusedPrivateMethod rule or through the  SQUID:UnusedPrivateMethod rule. This plugin calculates the number of lines that can be saved for each of them and aggregates them.

3. Report on the number of lines of potential dead code that could be reduced (only for Java not available from 4.2)
Currently SonarQube reports on the number of unsused protected methods within your application. This can be done through the SQUID:UnusedProtectedMethod rule. This plugin calculates the number of lines that can be saved for each of them and aggregates them.

...

  1. Switch on the coding rules that you want to monitor in your quality profile
  2. Run a quality analysis

Change Log

JIRA Issues
anonymoustrue
titleVersion 0.6
height100
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=19348&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleVersion 0.5
height100
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18274&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

 

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

 

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