elastic / apm-agent-go
Unit Size

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

Intro
Learn more...
Unit Size Overall
6% | 17% | 31% | 20% | 24%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go6% | 17% | 31% | 20% | 24%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
ROOT23% | 7% | 22% | 22% | 24%
module1% | 16% | 28% | 21% | 31%
model0% | 47% | 34% | 9% | 8%
sqlutil0% | 30% | 46% | 6% | 16%
scripts0% | 31% | 45% | 14% | 8%
internal0% | 5% | 58% | 16% | 19%
transport0% | 7% | 45% | 26% | 19%
apmtest0% | 0% | 38% | 31% | 29%
stacktrace0% | 0% | 58% | 25% | 16%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
412 110 1
192 39 1
178 39 1
113 37 1
109 21 1
106 5 1
100 36 1
98 27 1
97 27 1
96 36 1
94 35 1
87 25 1
87 38 1
86 18 1
82 15 1
80 24 1
80 23 1
80 19 1
79 25 1
79 25 1
76 11 3
73 19 1
73 10 1
70 21 1
66 24 1
65 21 1
64 14 1
63 15 1
63 15 1
62 15 1
61 15 1
60 27 1
60 17 0
59 26 1
58 19 1
56 11 1
56 20 1
55 16 1
55 10 1
53 16 1
53 14 1
52 9 1
52 14 1
51 10 1
51 13 1
51 11 1
50 7 1
50 9 1
50 14 0
49 9 0