Version Information
Sonarqube Version: * Developer Edition * Version 9.2.4 (build 50792)
We have implemented PR analysis on TFS Checkins.
what are you trying to achieve
Now recently, in c#, the sonarqube is blocking one of PR analysis due to Congnitive Complexity. For the time being, we need to disable this rule, until we clear our code.
Rule Name: Cognitive Complexity of methods should not be too high
The rule is in C# > http://[SonarqubeServer]/coding_rules?rule_key=csharpsquid%3AS3776
When I am going into the RULES > filtering on C#, and searching for above mentioned rule, I can’t seem to DEACTIVATE it.
Also, I have tried EXTENDING the rule, still, I can’t seem to neither DeActivate nor OVERRIDE that rule.
What have you tried so far to achieve this
- Tried searching on Google to disable the Rule, but didn’t find any way to disable the build in rule.
- Tried extending the Quality Profile and neither can I disable, nor can I override this rule.
Would really love the experts of Sonarqube to shed some light on this issue.