Reputation: 2100
I am using SonarQube Version – 6.7.7(LTS) and Python language analyzer plugin version - sonar-python-plugin-1.13.0.2922.jar
.
Completed the sonar analysis successfully, then I could see “Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed” related issues being tagged as Critical issue.
I feel this issue should go under Major (or) Minor category but not as Critical issue.
Upvotes: 0
Views: 1195
Reputation: 1546
You should define your own quality profile to customize the severity of that rule. See the documentation on quality profiles.
Upvotes: 1