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.
Asked
Active
Viewed 206 times
0
-
1_Every single one_ of your components has a B or C? _Every one of them_? – G. Ann - SonarSource Team Feb 09 '17 at 17:26
-
@G.Ann-SonarSourceTeam Yes, not even one has an A rating, still the overall rating is A. – Kanishka S Feb 10 '17 at 11:23
1 Answers
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