Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Name

Scala Plugin

Latest version

Trunk

Requires Sonar SonarQube version

2.9 or higher

License

GNU LGPL v3

Developers

Felix Müller

Issue Tracker

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

Sources

http://svnwww.codehausgithub.orgcom/SonarCommunity/sonar-plugins/trunk/scala

Description / Features

This plugin enables the analysis of Scala projects.

...

  • Lines
  • Lines of code
  • Comment lines
  • Classes
  • Functions
  • Statements
  • Public API
  • Cyclomatic Complexity

Roadmap

The version 0.1 of this plugin will cover calculation of base metrics.

...

  • integration of Scalastyle for violation checks
  • more metrics like lcom4, response for class, depth in tree
  • measuring code coverage

Installation

  1. Copy the jar into /extensions/plugins/ directory
  2. Restart Sonar SonarQube Web server

Usage

Maven projects

If your project is built with maven, you should add:

Code Block
<sourceDirectory>src/main/scala</sourceDirectory>

...

To kick-off the analysis, run mvn sonar:sonar.

Contribution

Everybody with an interest in developing Scala Sonar support SonarQubesupport is invited to contribute.

...

If you start developing, you should respect the guidelines of Sonarsource:

http://docs.codehaus.org/display/SONAR/Developer+guide
- under "IDE Support": http://docs.codehaus.org/display/SONAR/Build+Sonar

Changelog

forge guidelines.

Change Log

JIRA Issues
anonymoustrue
titleVersion 0.1
height180
renderModestatic
width900
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=17497&pid=11911&sorter/field=status&sorter/order=DESC&tempMax=1000