When comparing the complexity calculation between the CodeMetrics plugin and sonar we saw a discrepance, sonar adds one point for each nullish coalescing operator inside conditional expressions while CodeMetrics only adds one point for the conditional expression:
Sonar:
CodeMetrics:
After discussing in our team we think this is a bug, but maybe it is on purpose. Could you confirm?
Thank you!
When comparing the complexity calculation between the CodeMetrics plugin and sonar we saw a discrepance, sonar adds one point for each nullish coalescing operator inside conditional expressions while CodeMetrics only adds one point for the conditional expression:
Sonar:
CodeMetrics:
After discussing in our team we think this is a bug, but maybe it is on purpose. Could you confirm?
Thank you!