Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning
titleDeprecated

This plugin is deprecated since SonarQube 4.2+.

 

 

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 plugin handles Checkstyle ToDoComment rule and offers special reporting on issues from the Squid NoSonar rule and generates a report on various , which is available for multiple languages, and the Java-only Checkstyle ToDoComment rule. Each of these rules finds instances of specialized comments, or tags found in the code, like such as @todo or //TODO tags or //NOSONAR.

The reporting part is done by a widget that shows total number of tags found and a repartitiondistribution by tag. 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.

Include Page
Include - Plugin Installation

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

Usage

...

Include - Plugin Installation

Usage

  • Enable the //NOSONAR rule for languages where it is available:
    Image Added
    You can define additional tags to flag with the creation of new rules from the Checkstyle Comment pattern matcher rule template. Once created, be sure to activate them in your quality profile:

  • Also you can enable //NOSONAR rule:
    Image Removed
  • Run Once the rules are active in your profile, run a new analysis, and you'll get the following reportsadd the Tag List widget to your dashboard:

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.

...