Sonarqube doesn't detect non-compliant code from rules

I have an on-prem enterprise sonarqube deployed in gke using helm chart. For some reason it doesn’t return any findings when I pasted the non-compliant codes from the rules.

What usually causes this?

Hey there.

I’ve moved your post to the section on reporting fales-positives/false-negative.

Please be sure to read this post and add new details.