Skip to content

Commit d7c8e25

Browse files
authored
Update dead cognitive-complexity link (#569)
1 parent 18cdb55 commit d7c8e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RULES_DESCRIPTIONS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ _Configuration_: N/A
136136

137137
## cognitive-complexity
138138

139-
_Description_: [Cognitive complexity](https://www.sonarsource.com/resources/white-papers/cognitive-complexity.html) is a measure of how hard code is to understand.
139+
_Description_: [Cognitive complexity](https://www.sonarsource.com/docs/CognitiveComplexity.pdf) is a measure of how hard code is to understand.
140140
While cyclomatic complexity is good to measure "testability" of the code, cognitive complexity aims to provide a more precise measure of the difficulty of understanding the code.
141141
Enforcing a maximum complexity per function helps to keep code readable and maintainable.
142142

0 commit comments

Comments
 (0)