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

Live example

Icon

If you want to see a live example of the capabilities of the Flex plugin, you can have a look at the analysis of the AS3 Core Lib project on Nemo.

Description / Features

The plugin enables analysis of ActionScript projects within Sonar.

Installation

  1. Install the Flex 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 Flex project, use the Sonar Runner.

A sample project is available on github that can be browsed or downloaded: /projects/languages/flex/flex-sonar-runner.

Run a Sonar Analysis with the other Analyzers

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

Unit Tests an Code Coverage Reports

If you want to have unit test results in your Sonar dashboard, execute your unit tests before running the Sonar analysis and use the "sonar.dynamicAnalysis=reuseReports" property along with the "sonar.surefire.reportsPath" one to specify where Sonar should retrieve the XML reports.

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

Extending Coding Rules using XPath

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

To navigate the AST, download the SSLR Flex Toolkit.

Change Log

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)

 

Loading

Release 0.3 (8 issues)

 

Loading

Release 0.2 (1 issues)

 

Loading

Release 0.1 (11 issues)

  • No labels