Cognitive Complexity
A measure for how complex your code is to read and understand
Testable code != readable code
difference from cyclometric complexity (measure of testability)
Level of 15 or less is good goal
The paper
https://www.sonarsource.com/docs/CognitiveComplexity.pdf
https://community.sonarsource.com/t/how-to-use-cognitive-complexity/1894/3
-http://minborgsjavapot.blogspot.com/2019/08/why-declarative-coding-makes-you-better.html
Last updated