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

Name

Web Plugin

Authors

Matthijs Galesloot

Jira

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

Requires Sonar version

2.2 or higher (check version compatibility )

Latest version

0.1-SNAPSHOT (august 2010)

License

Apache 2.0

Sources

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

Download

(not available yet) http://repository.codehaus.org/org/codehaus/sonar-plugins/web/

Features

The plugin enables analysis of web files within Sonar. Currently JSP and JSF are supported.

The following metrics are supported:

  • sizing (files, lines of code)
  • rules compliancy
  • complexity
  • duplication
  • documentation

The plugin integrates with Sonar:

  • Web files can be viewed with their metrics
  • Rule sets are configurable

Architecture and Design

The plugin uses a simple tokenizer to parse the web pages. The tokenizer is based on the sonar-channel library. The output of the tokenizer is analyzed by a set of analyzers and checks.
No external tools or maven plugins are being used for analyzing the code.

Rules

The ruleset is inspired on the following standards and guidelines:

The following rules are supported:

AvoidHtmlCommentCheck

bla bla bla

  • No labels