uber / cadvisor
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
0% | 10% | 16% | 20% | 52%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
go0% | 10% | 16% | 20% | 52%
js0% | 0% | 9% | 36% | 54%
py0% | 0% | 36% | 34% | 29%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
metrics0% | 55% | 2% | 2% | 38%
cmd0% | 4% | 11% | 22% | 61%
container0% | 3% | 20% | 18% | 57%
manager0% | 0% | 28% | 35% | 36%
utils0% | 0% | 24% | 19% | 56%
fs0% | 0% | 39% | 11% | 48%
info0% | 0% | 37% | 20% | 42%
machine0% | 0% | 45% | 14% | 39%
integration0% | 0% | 21% | 18% | 59%
collector0% | 0% | 15% | 45% | 38%
resctrl0% | 0% | 15% | 41% | 42%
perf0% | 0% | 6% | 39% | 54%
build0% | 0% | 36% | 34% | 29%
validate0% | 0% | 0% | 46% | 53%
client0% | 0% | 0% | 28% | 71%
devicemapper0% | 0% | 0% | 29% | 70%
events0% | 0% | 0% | 26% | 73%
summary0% | 0% | 0% | 11% | 88%
zfs0% | 0% | 0% | 32% | 67%
nvm0% | 0% | 0% | 0% | 100%
storage0% | 0% | 0% | 0% | 100%
stats0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
1610 44 5
140 35 1
125 35 5
99 25 1
85 22 2
85 21 1
72 19 1
67 19 3
105 19 12
103 18 14
76 17 1
59 17 1
56 17 2
61 16 1
53 16 2
79 16 8
89 16 3
55 15 1
53 15 2
59 15 1
63 15 1
53 14 1
41 14 2
40 14 1
52 14 1
55 14 1
52 13 2
44 13 1
50 13 1
45 13 2
48 13 1
57 13 1
45 13 1
47 12 1
51 12 1
68 12 1
47 12 2
26 12 1
66 11 9
50 11 1
33 11 1
46 11 1
43 11 7
56 11 4
92 11 3
67 11 3
92 11 3
31 11 3
36 11 1
47 11 1