The plugin enables analysis of ActionScript projects within SonarSonarQubeTM.
It is compatible with the Issues Report plugin to run pre-commit local analysis.
- Install the Flex plugin through the Update Center or download it into the SONAR SONARQUBE_HOME/extensions/plugins directory
- Restart the Sonar SonarQubeTM server
SonarQubeTM Analysis with the Sonar Runner (Recommended Way)
To launch a Sonar run an analysis of your Flex project, use the Sonar Runner.
SonarQubeTM Analysis with the other Analyzers
Unit Tests an Code Coverage Reports
If you want to have display unit test results in your Sonar dashboardon dashboards, execute your unit tests before running the Sonar SonarQubeTM analysis and use set the ":
- property to
- property to the path to the directory containing the XML reports
- to the
- path to the Cobertura XML report
FlexPMD engine - that is embedded in the Flex plugin, suffers from some bugs which can break Sonar the SonarQubeTM analyses. Here are some of them you might encounter if FlexPMD rules are activated in the Flex quality profile that you are using: