Versions Compared

Key

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

Description / Features

This Taglist Sonar plugin handles Checkstyle ToDoComment rule and Squid NoSonar rule and generates a report on various tags found in the code, like @todo or //TODO tags.

The reporting part is done by a widget that shows total number of tags found and a repartition. A split is done between mandatory and optional tags. Mandatory tags are tags that have been defined with a CRITICAL or BLOCKER priority when activating the rule, optional are the ones with MAJOR, MINOR or INFO priority.

...

Installation

...

  1. Install the plugin through the Update Center or download it into the SONARQUBE_HOME/extensions/plugins directory
  2. Restart

...

  1. the SonarQubeTM server

Usage

  • Define the tags you want to hunt by creation of a new rules from "Checkstyle Comment pattern matcher" and activation in your quality profile:
    Image Removed Image Added
  • Also you can enable NoSonar //NOSONAR rule:
    Image Removed Image Added
  • Launch Run a new analysis and you'll get such kind of the following reports:
    Image Removed Image Added
    Image Removed Image Added
Note

File /extensions/plugins/taglist/taglist.properties not used since version 1.0.

Known

...

Issues

NullPointerException when CheckStyle rule has default value - see SONARPLUGINS-925.

...

Change Log

JIRA Issues
anonymoustrue
title

...

Version 1.0
height180
renderModestatic
width

...

900
columnstype;key;summary;priority

...

urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16907&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
title

...

Version 0.7
height90
renderModestatic
width

...

900
columnstype;key;summary;priority

...

urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16265&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
title

...

Version 0.6
height150

...

renderMode

...

static
width900
columnstype;key;summary;priority

...

urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=

...

15588&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

JIRA Issues
anonymoustrue
titleTaglist 0.4
height220
width950
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=15357&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000
JIRA Issues
anonymoustrue
titleTaglist 0.3
height80
width950
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=15254&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000