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/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.

Usage & Installation

  • Stop Sonar Web server
  • Place the jar into the /extensions/plugins directory
  • Restart Sonar Web server
  • Define the tags you want to hunt by creation of a new rules from "Checkstyle Comment pattern matcher" and activation in your quality profile :
  • Also you can enable NoSonar rule :
  • Launch a new analysis and you'll get such kind of reports :

Note

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

Known problems

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

Changelog

JIRA Issues
anonymoustrue
titleTaglist 1.0
height180
width950
columnstype;key;summary;priority;status;resolution
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
titleTaglist 0.7
height90
width950
columnstype;key;summary;priority;status;resolution
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
titleTaglist 0.6
height150
width950
columnstype;key;summary;priority;status;resolution
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.5
height300
width950
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=15382&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