Hi all, I have this question that I searched no one raised, is it correct that the Cognitive Complexity doesn’t take in consideration nested function definition?
* Windows 10
* Sonarlint v3.19.0
* Not Connected to SonarCloud or SonarQube
As you can see in the attached image, Sonarlint start count the location for Cognitive complexity point even if they are in nested function definition so the body of the main function starts with a high value and not 1.
thanks for any reply