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

Live example


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 SonarQube.

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


  1. Install the plugin through the Update Center or download it into the SONARQUBE_HOME/extensions/plugins directory
  2. Restart the SonarQube server


Run an Analysis with the SonarQube Runner (Recommended method)

To run an analysis of your Flex project, use the SonarQube Runner.

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

Run an Analysis with the other Analyzers

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

Code Coverage Reports

If you want to display code coverage data, prior to the SonarQube analysis execute your unit tests and generate the Cobertura report. Import this report while running the SonarQube analysis by setting:

  • sonar.dynamicAnalysis property to reuseReports
  • sonar.flex.cobertura.reportPath property to the path (absolute or relative to the project base directory) to the Cobertura XML report (was sonar.cobertura.reportPath for versions prior to 2.0)

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


See Metrics documentation page.

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.

  • No labels