elastic / apm-perf
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
0% | 3% | 17% | 35% | 43%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
go0% | 3% | 17% | 35% | 43%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
loadgen0% | 17% | 14% | 23% | 44%
cmd0% | 0% | 17% | 35% | 47%
internal0% | 0% | 20% | 44% | 35%
pkg0% | 0% | 0% | 21% | 78%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
119 36 6
69 18 3
33 16 3
79 15 1
68 14 2
65 13 1
49 11 3
54 11 1
60 11 0
43 11 1
32 11 2
67 10 1
23 10 2
44 10 2
43 9 1
52 9 2
23 9 1
23 9 1
49 9 1
21 9 1
60 9 0
36 8 1
36 8 1
55 8 1
34 8 1
44 8 1
32 7 1
19 7 3
29 7 1
12 7 3
40 7 1
24 7 1
38 6 2
38 6 3
25 6 2
22 6 1
30 6 0
40 6 0
40 6 0
17 6 1
18 6 1
21 6 1
21 6 1
29 6 1
35 6 1
19 5 1
12 5 1
59 5 0
17 5 1
22 5 2