0

The overall SQALE Rating for my service is A, however the components have the same as B or C. It doesn't add up. Please suggest.

1 Answers1

0

The SQALE rating is essentially a ratio of the size of your code base versus the estimated time to fix all issues in the project.

This A / not-A discrepancy can only be caused by rounding.

Specifically, as described in the docs of the deprecated SQALE plugin

The SQALE density formula is:

Remediation cost / Development cost

Which can be restated as:

Remediation cost / (Cost to develop 1 line of code * Number of lines of code)

...

The default SQALE rating axis is: A=0-0.1, B=0.11-0.2, C=0.21-0.5, D=0.51-1

Community
  • 1
  • 1
G. Ann - SonarSource Team
  • 22,346
  • 4
  • 40
  • 76