which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) 4.11.0
what are you trying to achieve : issue with Cognitive Complexity of methods should not be too high
can anyone provide me steps/instructions to resolve this issue
i’m using C# in my project
what have you tried so far to achieve this
tried to search fix for this issue in google,blogs but couldn’t find anything
Cognitive Complexity is about the structure of your code. If you have an issue, it means that there’s more “structure” in the code than allowed by the rule threshold, and the way to fix it is to simplify the structure. Without seeing the code, it’s impossible to tell you how to fix your particular issue, but this video discusses some general refactoring techniques to decrease Cognitive Complexity