Using SonarQube with Cover Plugin
Tips for successfully using SonarQube with Cover Plugin for IntelliJ.
Diffblue Cover writes tests that can be reported as "code smells" by SonarQube. By default, an option has been enabled in Cover Plugin for IntelliJ to add
@SuppressWarnings
to the start of each test, thus reducing the reported "code smells" in the SonarQube output.To disable this option, go to the Diffblue menu, and select Change Settings. Then, select the Diffblue Cover menu. You will see the Method Annotations section as shown in the example below. Remove the relevant tags from the box, and save your changes.

If you want to configure SonarQube directly, please see the separate topic Using SonarQube with Cover CLI.
Last modified 23d ago