In this section, we will look at the default quality gate that defines the base level for passing or failing code analysis, and quality profiles is rule specific to a particular programming language.
Quality gates, quality profiles, and rules
How to do it...
- As of now there is no project available in the SonarQube dashboard:
![](https://static.packt-cdn.com/products/9781788297943/graphics/assets/1741e921-4e2f-4fbb-b7d3-e6be44670392.png)
- Quality Gate is used to enforce policy in the organization for static code analysis.
- The SonarQube way is the default Quality Gate and you assign it to different projects based on the policies required.
- You can also add conditions based on your requirement and policies you want to enforce:
![](https://static.packt-cdn.com/products/9781788297943/graphics/assets/aa57d33b-df00-4320-89ea-97254d1fc44e.png)
- Click on the Quality Profiles tab to get details on the default quality profiles available in SonarQube.
- Quality...