Skip to end of metadata
Go to start of metadata

Name

Scala Plugin

Latest version

Trunk

Requires Sonar 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://svn.codehaus.org/sonar-plugins/trunk/scala

Description / Features

This plugin enables the analysis of Scala projects.

The following metrics are supported:

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

Calculation of Metrics

// TODO

Known Limitations

// TODO

Roadmap

// TODO

Installation

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

Usage

Maven projects

If your project is built with maven, you should add

to the build section in your pom and:

Non-maven projects

If your project does not use maven as a build engine, you should create a small pom.xml file at the root of your project containing the following content:

pom.xml

Running analysis

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

Contribution

// TODO

Changelog

Labels
  • None