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

Description / Features

The plugin enables analysis of ActionScript projects within Sonar.

Installation

  1. Install the Flex plugin through the Update Center
  2. Restart Sonar

Usage

  1. 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
  2. Launch a quality analysis on a flex project: "mvn sonar:sonar -Pflex"

 

Note 1: If you want to have unit test results in your Sonar dashboard, the best option is execute your unit tests before running the Sonar analysis and to use "sonar.dynamicAnalysis=reuseReports" along with "sonar.surefire.reportsPath" property to specify where Sonar should find the XML result files.

Note 2: Since version 0.4 you can provide path to coverage report (in cobertura xml format) using property "sonar.cobertura.reportPath".

Extending Coding Rules using XPath

New coding rules can be added using XPath. See the related documentation.

To navigate the AST, download the Flex SSDK.

Changelog

Loading

Release 1.1 (26 issues)

Showing 20 out of 26 issues Refresh

 

Loading

Release 1.0.1 (2 issues)

 

Loading

Release 1.0 (12 issues)

 

Loading

Release 0.4 (3 issues)

 

Loading

Release 0.3.1 (1 issues)

Type Key Summary Priority 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)

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

 

Loading

Release 0.1 (11 issues)

  • No labels