Rule Analysis Scope always shows 'Main Sources'

In the web interface, every rule description seems to show ‘Main Sources’ for Analysis Scope - even though some of them are clearly meant to say ‘Test Sources’ or ‘All Sources’.

Versions used:

  • SonarQube [7.9]
  • SonarJava plugin [6.0]

The rule below should show ‘Test Sources’.

Hi Jonah,
You’re right, SonarJava has 15 rules specific to tests and they are all described using the scope MAIN instead of TEST. Ticket created SONARJAVA-3284
Thanks for the feedback.