The plugin enables analysis of ActionScript projects within SonarQubeTM.
It is compatible with the Issues Report plugin to run pre-commit local analysis.
- Install the plugin through the Update Center or download it into the SONARQUBE_HOME/extensions/plugins directory
- Restart the SonarQube TM server
Run an Analysis with the SonarQube
Runner (Recommended Way)
To run an analysis of your Flex project, use the SonarQube TM 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.surefire.reportsPathproperty to the path to the directory containing the XML reports
sonar.cobertura.reportPathproperty 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: