How the quality threshold is calculated

Hello everyone, I would like to ask a question: what is the formula to calculate if the quality threshold passed or not, even though this project has vulnerabilities, bugs and hotspots, does it pass, under what criteria is it calculated?

Hi @ronaldorafael97 ,

Welcome to the community! You’ll want to take a look at Quality Gates: Quality Gates | SonarQube Docs

With those you can define what criteria SonarQube should use to calculate a pass/fail when scanning the code.

1 Like