Authors |
|
License |
LGPL v3 |
Description / Features
The plugin enables analysis of ActionScript projects within Sonar. This plugin handles 3 maven plugins that gather the data : FlexMetrics for base metrics, FlexPMD for coding rules violations and FlexCPD to detect duplicated code.
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 |
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 :
- Copy the jar into /extensions/plugins/ directory
- Restart Sonar Web server
- Create a pom.xml at the root of the project
pom.xml
- Launch a quality analysis on a flex project : "mvn sonar:sonar -Pflex"
Known limitations
N/A

