Skip to end of metadata
Go to start of metadata

Description / Features

The plugin enables analysis of Erlang projects within Sonar.

It is compatible with the Issues Report plugin to run pre-commit local analysis.

Installation

  1. Install the Erlang plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
  2. Restart the Sonar server

Usage

Run a Sonar Analysis with the Sonar Runner (Recommended Way)

To launch a Sonar analysis of your Erlang project, use the Sonar Runner.

A sample project is available on GitHub that can be browsed or downloaded: /projects/languages/erlang.

Run a Sonar Analysis with the other Analyzers

Maven and Ant can also be used to launch analysis on Erlang projects.

Metrics

See Metrics documentation page.

Change Log

Version 0.2 (4 issues)
Type Key Summary Priority
Bug SONARPLUGINS-2633 Avoid multiple blank line rules ignores non tokens Major
Bug SONARPLUGINS-2612 Parse exception when parsing empty flow control Major
New Feature SONARPLUGINS-2613 Create a check to not use empty flow controls Major
Improvement SONARPLUGINS-2490 Rule: Avoid too complex anonymous functions Major

Version 0.1 (22 issues)
Type Key Summary Priority
Improvement SONARPLUGINS-2495 Add libraries sensor to get dependencies Major
Improvement SONARPLUGINS-2555 DuplicatedSourceException in EunitXmlSensor in some erlang projects Major
Improvement SONARPLUGINS-2552 Use lexerless parser Major
Bug SONARPLUGINS-2605 Cannot parse custom module attributes Major
Bug SONARPLUGINS-2494 Fix Branches of recursion metric Major
Improvement SONARPLUGINS-2492 Rule: Make no macros rule better Major
Improvement SONARPLUGINS-2489 Fix complexity calculation Major
Improvement SONARPLUGINS-2488 Optimize erlang grammar Major
Improvement SONARPLUGINS-2491 Rule: is tail recursive Major
Improvement SONARPLUGINS-2487 Erlang: make rules localizable Major
New Feature SONARPLUGINS-2480 Rule: Do not use export_all Major
New Feature SONARPLUGINS-2479 Provide standard metrics for Erlang Major
New Feature SONARPLUGINS-2482 Rule: When there is a parsing error, this error should be added like a violation on that Erlang file Major
New Feature SONARPLUGINS-2481 Rule: Export each method in separate line Major
New Feature SONARPLUGINS-2483 Rule: Functions should not have a lot of arguments Major
New Feature SONARPLUGINS-2478 Provide default quality profile named "Sonar way" Major
New Feature SONARPLUGINS-2477 Embed the sonar-common-rules library Major
New Feature SONARPLUGINS-2475 Rule: XPath rule template Major
New Feature SONARPLUGINS-2476 Rule: Avoid too complex function Major
New Feature SONARPLUGINS-2472 Implement Erlang parser based on SSLR Major
New Feature SONARPLUGINS-2473 Provide Erlang rule engine based on SSLR Major
New Feature SONARPLUGINS-2474 Rule: Regular expression on comment Major

 

Labels
  • None