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 20 Next »

Name

Taglist Plugin

Authors

Torsten B. Köster, Freddy Mallet

Jira

http://jira.codehaus.org/browse/SONARPLUGINS/component/13744

State

Under development

License

LGPL v3

Download sources

http://svn.codehaus.org/sonar-plugins/trunk/taglist

Download jar

sonar-plugin-taglist-0.3.jar

Compatibility with Sonar


1.8

1.9

Plugin 0.2

Plugin 0.3

Description / Features

The Taglist Maven Plugin generates a report on various tags found in the code, like @todo or //TODO tags. This Sonar plugin is able to transparently configure and launch the Taglist Maven plugin in order to collect all occurrences of those tags  to feed the Sonar DB.

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 activating the associated rules in your quality profile :

  • Launch a new analysis and you'll get such kind of reports :

     

     
     
     
  • If you want to add new tags to the default ones, you need to create a file "taglist.properties" in the /extensions/plugins directory. The file must be fed with the list of desired tags and their associated ISO category. Restart the Sonar web server and your tags should appear in the Quality Profile management console. Example of file :

    Warning

    Icon

    Sonar doesn't reuse any configuration possibly made manually in the pom.xml file on the Taglist Maven plugin. If you want to activate a tag detection, you must activate the associated rule in desired Sonar quality profile.

Known limitations

  • It will be useful, if new tags could be defined through the Sonar web interface (relates to SONAR-236)
  • No labels