In the following section, we will modify the default quality profile for Java (Sonar way), which we intend to use for our static code analysis. Follow these steps:
- From the SonarQube dashboard, click on the Quality Profiles link from the menu bar. On the resultant page, you will see all the quality profiles that exist on SonarQube, as shown in the following screenshot:
List of quality profiles in SonarQube
- From the previous screenshot, you can see that the default quality profile for Java: Sonar way contains 254 active rules. Let us try to add more rules.
- Click on the Activate More button.
- On the resultant ...