Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The plugin enables analysis of ActionScript projects within SonarQubeTM.

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 TM server

Usage

Run an Analysis with the SonarQube

...

Runner (Recommended Way)

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

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

...

If you want to display unit test results on dashboards, execute your unit tests before running the SonarQubeTM analysis SonarQubeanalysis and set the:

  • sonar.dynamicAnalysis property to reuseReports
  • sonar.surefire.reportsPath property to the path to the directory containing the XML reports
  • sonar.cobertura.reportPath property to the path to the Cobertura XML report

...

FlexPMD engine - that is embedded in the Flex plugin, suffers from some bugs which can break the SonarQubeTM analysesSonarQubeanalyses. Here are some of them you might encounter if FlexPMD rules are activated in the Flex quality profile that you are using:

...