Reputation: 11
Are there any changes in metric complexity the way it measures in different versions of SonarQube for PL/SQL code?
The number of complexities on version 5.6.6 is much lower than that in version 4.5.4, even though I did not change the code.
Upvotes: 1
Views: 83
Reputation: 22824
This is unrelated to the version of SonarQube, but instead to the version of SonarPLSQL. Version 2.9 includes corrections to the calculation of Cyclomatic Complexity. Previously it was a mix between Cyclomatic Complexity and Essential Complexity (so extra points were added for early returns) but now it is purely Cyclomatic Complexity, so a drop in values is expected.
Upvotes: 1