#184 add note in gocyclo description about threshold

This commit is contained in:
Shawn Smith
2017-05-05 14:53:13 +09:00
parent 25e329f6e3
commit c714abff78

View File

@@ -28,5 +28,7 @@ func (g GoCyclo) Description() string {
The cyclomatic complexity of a function is calculated according to the following rules:
1 is the base complexity of a function
+1 for each 'if', 'for', 'case', '&&' or '||'`
+1 for each 'if', 'for', 'case', '&&' or '||'
Go Report Card warns on functions with cyclomatic complexity > 15.`
}