Good morning guys! I'm running sonnar scanner and it's not detecting code smells, I'm purposely app

Good morning guys!

I’m running sonnar scanner and it’s not detecting code smells, I’m purposely applying code smells to my code and it’s not detecting it, could you help me?

The problem is not the profile and the gates, the metrics are ok, and the sonnar scanner is running.


Welcome to the community!

Can you provide more details? As a start:

  • Version and edition of SonarQube (check the page footer if you’re not sure)
  • Code sample demonstrating a missing code smell
  • Rule that should be raising an issue on it