uber / kubernetes
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
9% | 11% | 12% | 12% | 53%
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
go9% | 11% | 12% | 12% | 53%
py0% | 0% | 46% | 26% | 27%
c0% | 0% | 0% | 31% | 68%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
staging10% | 14% | 11% | 10% | 52%
pkg6% | 6% | 14% | 17% | 55%
cmd<1% | 4% | 15% | 21% | 57%
plugin0% | 1% | 21% | 28% | 49%
cluster0% | 0% | 14% | 25% | 59%
hack0% | 0% | 37% | 35% | 27%
build0% | 0% | 0% | 56% | 43%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
1397 697 1
1671 479 1
1671 479 1
2293 459 1
679 196 1
530 155 1
530 155 1
532 155 1
532 155 1
500 141 1
500 141 1
708 129 1
438 125 1
438 125 1
402 117 1
412 116 1
405 116 1
405 116 1
405 113 1
242 113 6
227 112 1
380 112 1
380 112 1
380 112 1
394 110 1
394 110 1
392 110 1
393 110 1
375 109 1
379 107 1
353 104 1
371 103 1
223 103 2
363 102 1
363 102 1
346 98 1
346 98 1
291 95 1
459 93 1
534 93 1
328 92 1
453 91 1
276 90 1
276 90 1
276 90 1
269 90 1
307 89 1
307 89 1
267 89 1
267 89 1