Uber / cadvisor
Unit Size

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

Intro
Learn more...
Unit Size Overall
16% | 11% | 31% | 21% | 18%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go17% | 11% | 30% | 21% | 18%
js0% | 9% | 58% | 20% | 11%
py0% | 0% | 36% | 22% | 41%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
metrics84% | 2% | 2% | 6% | 2%
container7% | 11% | 32% | 22% | 25%
cmd7% | 12% | 39% | 25% | 16%
manager0% | 28% | 41% | 18% | 12%
fs0% | 31% | 21% | 36% | 10%
utils0% | 9% | 35% | 22% | 32%
info0% | 23% | 58% | 4% | 13%
machine0% | 25% | 34% | 13% | 26%
integration0% | 21% | 24% | 31% | 21%
collector0% | 15% | 40% | 13% | 30%
resctrl0% | 15% | 44% | 30% | 9%
perf0% | 0% | 57% | 27% | 14%
validate0% | 0% | 59% | 33% | 7%
client0% | 0% | 28% | 28% | 43%
summary0% | 0% | 29% | 47% | 23%
events0% | 0% | 26% | 25% | 48%
devicemapper0% | 0% | 19% | 41% | 38%
build0% | 0% | 36% | 22% | 41%
nvm0% | 0% | 32% | 37% | 30%
zfs0% | 0% | 0% | 65% | 34%
storage0% | 0% | 0% | 0% | 100%
stats0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
1610 44 5
464 1 1
237 1 1
142 2 2
140 35 1
125 35 5
105 19 12
104 1 1
103 18 14
99 25 1
92 11 3
92 11 3
89 16 3
85 21 1
85 22 2
79 16 8
76 17 1
73 8 10
72 19 1
68 12 1
67 11 3
67 19 3
66 11 9
63 15 1
61 16 1
59 17 1
59 15 1
57 13 1
57 11 9
56 10 0
56 11 4
56 17 2
55 14 1
55 15 1
55 8 1
54 9 3
53 15 2
53 14 1
53 16 2
52 13 2
52 14 1
51 12 1
50 7 0
50 13 1
50 5 1
50 11 1
48 8 0
48 9 0
48 5 8
48 10 2