elastic / apm-agent-ruby
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
2% | 1% | 19% | 27% | 49%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
rb2% | 1% | 19% | 27% | 49%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
lib2% | 2% | 18% | 28% | 48%
spec0% | 0% | 26% | 18% | 54%
bench0% | 0% | 0% | 52% | 47%
features0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
136 17 1
69 19 5
55 25 0
50 15 0
43 10 3
42 6 0
39 10 2
39 11 4
39 6 0
36 5 0
35 3 1
35 11 0
34 10 2
33 4 0
33 1 1
33 1 1
32 7 2
32 5 4
29 6 0
29 6 0
28 2 0
28 1 0
28 2 0
28 2 1
27 4 2
27 13 0
26 1 0
26 5 0
26 7 1
26 5 0
25 3 0
25 1 0
25 8 1
25 8 0
24 10 0
24 1 0
23 2 0
23 6 4
23 5 0
23 7 1
22 4 1
22 4 1
22 6 1
22 1 1
21 11 1
21 4 1
20 7 0
20 6 3
20 9 1
20 8 1