Always getting quality gate passed

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Community Edition Version 7.6 (build 21501)

  • what are you trying to achieve
    Scan the code by implementing our own profile and gateway

  • what have you tried so far to achieve this

  • I’ve created a new profile by making a copy of the existing sonar way
  • I’ve created a new gateway by making a copy of the existing sonar way
  • Assigned both to my project which I scanned.

Problem is it always shows the quality gate passed.
Following are the gate set right now, I’m not sure if I’ve set it correctly. Please guide me
|Blocker Issues|is greater than|90||
|Cognitive Complexity|is greater than|90||
|Cyclomatic Complexity|is greater than|90||
|New Vulnerabilities|is greater than|90|

Hi,

This should help:

 
Ann