The complexity of evaluating individual rules

Hi Sonar Community,
we use the following SonarQube: Enterprise EditionVersion 9.4 (build 54424)

We are now trying to set the rules in Quality profiles as best as possible.

Depending on this, we would like to know if it is possible to determine how difficult individual rules are for analysis. How often are individual rules evaluated and how long does each evaluation take? Depending on that, we would eliminate some rules.

Please, do you have any tips?

Thank you very much for any reply.

Hi,

That’s

a) going to vary wildly by language and rule
b) not something we really track; ideally all rules run in a reasonable time

And you might find some details if you turn on debug analysis logging, depending on the language.

 
HTH,
Ann

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.