Versions Compared

Key

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

Description / Features

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

...

3. report on the number of lines of potential dead code that could be reduced (only for Java)
Currently Sonar reports on the number of unsused protected method within you application. This can be done through the SQUID:UnusedProtectedMethod. This plugin calculates the number of lines that can be saved for each of them and aggregates them.

Image Modified

It is to be noted that an unused protected method could be used outside the application through inheritance. This is why we call it potential dead code.

Installation & Usage

...

  1. Install the jar into Useless Code Tracker plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
  2. Restart the Sonar server
  3. Switch on the coding rules that you want to monitor in your quality profile
  4. Run a quality analysis

...

Change Log

JIRA Issues
anonymoustrue
titleRelease Version 0.5
height100
renderModestatic
width900
columnstype;key;summary;priority;status;resolution
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
titleRelease Version 0.4
height50
renderModestatic
width900
columnstype;key;summary;priority;status;resolution
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
titleRelease 0.3
height50
width900
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=17203&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

 

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