aws / smithy-go
Unit Size

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

Intro
Learn more...
Unit Size Overall
6% | 8% | 25% | 20% | 39%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
java11% | 9% | 25% | 17% | 35%
go0% | 5% | 25% | 24% | 44%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
codegen11% | 9% | 25% | 17% | 35%
testing0% | 25% | 12% | 37% | 24%
document0% | 9% | 55% | 19% | 14%
transport0% | 6% | 28% | 25% | 39%
encoding0% | 3% | 27% | 29% | 39%
aws-http-auth0% | 0% | 45% | 24% | 29%
internal0% | 0% | 57% | 21% | 20%
private0% | 0% | 36% | 42% | 21%
waiter0% | 0% | 71% | 0% | 28%
endpoints0% | 0% | 32% | 51% | 15%
tracing0% | 0% | 14% | 18% | 67%
metrics0% | 0% | 9% | 0% | 90%
middleware0% | 0% | 3% | 21% | 75%
auth0% | 0% | 14% | 45% | 40%
ptr0% | 0% | 2% | 5% | 92%
io0% | 0% | 0% | 60% | 39%
ROOT0% | 0% | 0% | 18% | 81%
time0% | 0% | 0% | 39% | 60%
rand0% | 0% | 0% | 23% | 76%
sync0% | 0% | 0% | 44% | 56%
logging0% | 0% | 0% | 0% | 100%
context0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
206 33 2
204 47 2
187 17 7
149 24 5
147 24 5
135 3 6
129 24 5
119 6 5
109 10 2
91 31 3
90 6 3
89 8 2
88 13 2
87 3 6
84 22 1
83 19 1
82 6 0
79 9 0
72 9 0
70 9 2
63 18 1
62 2 2
62 4 5
61 16 2
60 4 2
60 9 4
56 15 6
55 3 2
55 15 3
54 13 2
51 1 6
51 13 1
49 12 5
49 14 3
47 5 1
47 1 6
47 7 1
47 8 4
47 7 1
46 15 1
46 15 1
46 14 1
45 15 3
45 9 0
45 8 1
45 13 1
45 7 5
43 2 0
43 6 0
43 1 1