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

Description / Features

The plugin enables analysis of ActionScript projects within Sonar. This plugin handles 4 maven plugins that gather the data : FlexMetrics for base metrics, FlexPMD for coding rules violations, FlexCPD to detect duplicated code and FlexMojos for unit tests.

Version in italic can be overridden in pom.xml.

Plugin

FlexMetrics

FlexPMD

FlexCPD

FlexUnit

FlexSDK

FlexMojos

0.1, 0.2

1.1

1.0

1.0

N/A

N/A

N/A

0.3, 0.3.1, 0.4

1.2

1.2

1.2

N/A

N/A

3.6.1

And of course all built-in functionality of Sonar are available : dashboard, drilldown, clouds...

You can see real life example of this plugin on Nemo : http://nemo.sonarsource.org/project/index/com.adobe:as3corelib

Usage & Installation

Since the plugin handles Adobe maven plugins that are not in the central repo, it is necessary to add the Adobe repo in settings.xml :

settings.xml
  1. Copy the jar into /extensions/plugins/ directory
  2. Restart Sonar Web server
  3. You don't need to do anything at this point if your project can be built with Maven and FlexMojos, but if not then you should create a pom.xml at the root of the project :
    pom.xml
  4. Since version 0.4 you can provide path to coverage report in cobertura format using property "sonar.cobertura.reportPath"
  5. Launch a quality analysis on a flex project : "mvn sonar:sonar -Pflex"

Known limitations

N/A

Changelog

Loading

Release 0.4 (3 issues)


Loading

Release 0.3.1 (1 issues)

T Key Summary P Status Resolution
Improvement SONARPLUGINS-741 Use surefire parser provided by sonar-surefire-plugin Major Closed Fixed


Loading

Release 0.3 (8 issues)


Loading

Release 0.2 (1 issues)

T Key Summary P Status Resolution
Improvement SONARPLUGINS-544 Make the plugin compatible with Sonar 2.2 Major Closed Fixed


Loading

Release 0.1 (11 issues)

  • No labels