Description / Features
- Restart the Sonar server
Run a Sonar Analysis with the Sonar Runner (Recommended Way)
To launch a Sonar .
- 75 predefined rules
- custom coding rules with XPath
- import of code coverage results with LCOV
Analysis support of ECMAScript 6 new constructs, see ES6 features (by Luke Hoban)
Include Page Include - Plugin Installation Include - Plugin Installation
Run an Analysis with the SonarQube Runner (Recommended method)
an Analysis with the other Analyzers
Reports from JsTestDriver can be imported into Sonar.
To display code coverage data:
- Prior to the SonarQube analysis, execute your unit tests and generate the LCOV report.
- Import this report while running the SonarQube analysis by setting the
Since the plugin version 2.0, you can force coverage value to be set to "0" without providing any report. You just need to set the following property to "true":
See the related Jira ticket for more detail: SONARJS-239.
Extending Coding Rules using XPath