elastic / apm-agent-ruby
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 7% | 12% | 80%
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
rb0% | 0% | 7% | 12% | 80%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
lib0% | 0% | 8% | 11% | 80%
spec0% | 0% | 0% | 19% | 80%
bench0% | 0% | 0% | 0% | 100%
features0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
55 25 0
69 19 5
136 17 1
50 15 0
18 14 1
27 13 0
39 11 4
35 11 0
17 11 0
21 11 1
18 11 1
39 10 2
34 10 2
24 10 0
17 10 1
43 10 3
20 9 1
19 9 0
13 9 3
15 8 1
25 8 1
25 8 0
20 8 1
16 8 0
20 7 0
16 7 1
10 7 1
32 7 2
8 7 0
8 7 1
13 7 0
23 7 1
26 7 1
11 7 2
11 6 1
9 6 0
23 6 4
7 6 2
29 6 0
14 6 1
20 6 3
7 6 1
22 6 1
42 6 0
14 6 3
16 6 1
14 6 1
12 6 1
11 6 0
29 6 0