Description / Features
- 75 predefined rules
- custom coding rules with XPath
- import of code coverage results with LCOV
Run an Analysis with the SonarQube Runner (Recommended method)
Run an Analysis with the other Analyzers
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":
Unit Tests COMING (AGAIN) SOON
See the related Jira ticket for more detail: SONARJS-239.
Extending Coding Rules using XPath
New coding rules can be added using XPath. See the related documentation.