-
Notifications
You must be signed in to change notification settings - Fork 5
/
output.txt
30 lines (25 loc) · 1.19 KB
/
output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/Users/marcelloh/data/Go/go-private/fastdb/persist/aof.go:99:1 - fileReader has complexity: 21
complexity = 1
+ 1 (found 'function with (54) lines >= 50 ' at line: 99, complexity = 2)
+ 1 (found 'for' at line: 113, complexity = 3)
+ 1 (found 'for with (37) lines >= 10 ' at line: 113, complexity = 4)
+ 1 (found 'for with (37) lines >= 25 ' at line: 113, complexity = 5)
+ 2 (found 'switch' at line: 117, complexity = 7)
+ 2 (found 'case with (16) lines >= 3 ' at line: 118, complexity = 9)
+ 2 (found 'case with (16) lines >= 10 ' at line: 118, complexity = 11)
+ 3 (found 'if' at line: 130, complexity = 14)
+ 2 (found 'case with (8) lines >= 3 ' at line: 134, complexity = 16)
+ 2 (found 'case with (6) lines >= 3 ' at line: 142, complexity = 18)
+ 3 (found 'if' at line: 143, complexity = 21)
5 = files
22 = functions
501 = function lines
1 = complex functions
54 = complex function lines
4.55 % are complex functions
10.78 % of lines belong to complex functions
6.41 = overall average complexity per function
21 = highest complexity
/Users/marcelloh/data/Go/go-private/fastdb/persist/aof.go:99:1 - fileReader has complexity: 21
0 = complex lines
busy for: 20.653167ms