uber / tchannel-go
Unit Size

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

Intro
Learn more...
Unit Size Overall
<1% | 4% | 29% | 29% | 36%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go<1% | 4% | 29% | 29% | 36%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
ROOT1% | 6% | 28% | 26% | 36%
thrift0% | 4% | 35% | 26% | 33%
hyperbahn0% | 3% | 37% | 29% | 28%
benchmark0% | 0% | 27% | 39% | 33%
testutils0% | 0% | 18% | 37% | 44%
json0% | 0% | 69% | 6% | 23%
crossdock0% | 0% | 33% | 33% | 32%
stats0% | 0% | 29% | 47% | 22%
http0% | 0% | 34% | 39% | 25%
relay0% | 0% | 13% | 20% | 65%
scripts0% | 0% | 0% | 85% | 14%
typed0% | 0% | 0% | 26% | 73%
raw0% | 0% | 0% | 75% | 24%
pprof0% | 0% | 0% | 72% | 27%
peers0% | 0% | 0% | 52% | 47%
internal0% | 0% | 0% | 100% | 0%
tnet0% | 0% | 0% | 33% | 66%
trand0% | 0% | 0% | 0% | 100%
tos0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
109 16 2
82 19 1
79 10 1
78 12 1
64 5 1
64 16 1
54 13 1
54 17 1
52 13 1
52 11 1
50 10 1
49 13 1
47 4 1
46 11 0
46 15 1
45 10 1
45 14 1
45 14 1
45 14 1
45 11 1
45 11 1
45 11 1
45 14 1
44 15 1
43 12 1
42 12 1
42 9 1
42 11 1
42 11 1
42 11 1
41 7 1
41 5 1
41 9 1
41 13 1
39 9 2
39 10 1
39 14 1
38 10 1
37 6 1
37 10 1
36 11 1
36 11 1
36 11 1
35 12 1
35 9 1
35 10 3
35 8 1
34 5 1
33 4 1
33 5 3