Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 73 Current »

Description / Features

This plugin offers special reporting on issues from the Squid NoSonar rule, 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, such as @todo or //TODO or //NOSONAR.

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

Installation

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

Usage

  • Enable the //NOSONAR rule for languages where it is available:

    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:

    Once the rules are active in your profile, run a new analysis, and add the Tag List widget to your dashboard:

Known Issues

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

Change Log

Loading

Version 1.0 (5 issues)

 

Loading

Version 0.7 (2 issues)

 

Loading

Version 0.6 (4 issues)

 

  • No labels