Apex
Language-specific information about the way SonarQube Cloud supports the analysis of Apex.
Last updated
Was this helpful?
Language-specific information about the way SonarQube Cloud supports the analysis of Apex.
This language is available only in the Subscription plans.
SalesForce Lightning Components (Aura Components or Web Components)
To discover and update the Apex-specific properties, navigate in SonarQube Cloud to Your Project > Administration > General Settings > Languages > Apex. See Configuration overview for more information about setting properties.
You can import PMD reports for Apex. For more information, navigate in SonarQube Cloud to Your Project > Administration > General Settings > External Analyzers > Apex.
Adding the //NOSONAR comment at the end of the line will suppress all issues on that line.
Rather than relying on this method, we suggest refining your analysis scope to avoid creating major gaps in your code review. Because the NOSONAR comment silences all current and future issues on a line without regard for their severity, it is an imprecise tool. Even if you only intend to hide a minor stylistic point, you could unintentionally obscure a serious security flaw.
External analyzer reports (PMD Apex)
Test coverage parameters (For Salesforce DX project)
Last updated
Was this helpful?
Was this helpful?

