Uber / cadence
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
<1% | 2% | 12% | 16% | 68%
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
go<1% | 2% | 12% | 16% | 68%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
service1% | 2% | 19% | 21% | 55%
common<1% | 2% | 8% | 12% | 76%
tools0% | 1% | 16% | 16% | 65%
cmd0% | 24% | 10% | 10% | 54%
host0% | 7% | 3% | 26% | 62%
bench0% | 0% | 18% | 38% | 43%
canary0% | 0% | 12% | 29% | 57%
client0% | 0% | 2% | 4% | 93%
environment0% | 0% | 0% | 0% | 100%
testflags0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
364 96 1
128 70 1
143 65 1
118 58 1
299 53 1
182 44 1
140 44 1
134 44 1
134 44 1
137 44 1
90 43 1
88 41 1
180 39 1
205 39 1
114 37 4
137 37 1
101 36 1
110 35 1
95 33 1
125 33 1
135 32 1
202 32 1
63 30 1
186 30 1
135 29 1
138 29 1
159 29 1
181 28 1
118 27 1
99 27 1
149 26 1
80 26 1
80 26 1
72 26 2
54 25 1
53 25 1
77 25 1
77 25 1
80 25 1
89 25 1
75 25 1
52 24 1
91 24 5
94 24 1
135 24 1
161 24 1
118 24 1
116 23 1
77 23 1
51 23 1