aws / telegraf
Unit Size

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

Intro
Learn more...
Unit Size Overall
13% | 16% | 33% | 19% | 16%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go13% | 16% | 33% | 19% | 16%
c0% | 0% | 36% | 50% | 13%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
plugins14% | 17% | 33% | 18% | 15%
patches7% | 18% | 31% | 18% | 24%
config22% | 8% | 43% | 15% | 10%
cmd52% | 0% | 28% | 7% | 10%
agent0% | 18% | 40% | 25% | 14%
internal0% | 8% | 39% | 30% | 20%
metric0% | 22% | 5% | 25% | 46%
testutil0% | 7% | 7% | 43% | 41%
models0% | 5% | 43% | 19% | 31%
logger0% | 0% | 45% | 29% | 25%
selfstat0% | 0% | 16% | 40% | 42%
scripts0% | 0% | 100% | 0% | 0%
filter0% | 0% | 0% | 67% | 32%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
3056 824 1
456 109 5
448 1 0
414 1 0
263 60 0
252 79 0
223 2 1
221 4 1
213 65 1
207 1 0
198 1 0
194 58 1
184 1 0
176 37 1
175 1 0
171 39 1
160 46 1
159 1 0
158 37 1
157 49 1
156 1 0
156 22 1
152 58 6
149 1 0
147 14 1
144 1 0
143 26 1
143 52 2
142 1 0
141 1 0
140 37 1
139 5 1
137 29 1
135 52 1
133 31 1
131 1 0
130 1 0
130 38 1
129 31 1
129 1 1
128 28 0
127 48 1
126 38 1
125 27 1
125 6 1
123 38 1
122 46 1
122 7 1
121 1 0
120 1 0