twitter / scoot
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 3% | 21% | 19% | 54%
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% | 3% | 21% | 19% | 54%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
runner0% | 20% | 14% | 23% | 41%
scheduler0% | 1% | 29% | 19% | 49%
saga0% | 9% | 9% | 21% | 59%
worker0% | 3% | 20% | 19% | 57%
snapshot0% | 0% | 11% | 19% | 68%
common0% | 0% | 0% | 14% | 85%
cloud0% | 0% | 0% | 24% | 75%
config0% | 0% | 0% | 48% | 51%
ice0% | 0% | 0% | 24% | 75%
cleaner0% | 0% | 0% | 17% | 82%
perftests0% | 0% | 0% | 0% | 100%
async0% | 0% | 0% | 0% | 100%
apiserver0% | 0% | 0% | 0% | 100%
binaries0% | 0% | 0% | 0% | 100%
setup-cloud-scoot0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
106 37 2
283 33 1
163 31 1
123 31 1
77 30 1
77 30 1
199 25 1
64 25 1
96 24 1
60 23 1
87 22 1
47 20 1
51 20 1
63 20 1
105 18 1
53 18 1
53 18 1
53 18 2
118 17 7
48 17 1
68 16 1
106 16 1
49 16 1
75 16 1
45 16 1
56 15 1
78 15 1
69 14 1
42 14 1
45 14 1
45 14 1
45 14 1
39 14 1
39 14 1
39 14 1
45 14 1
55 14 2
42 14 1
39 13 1
108 13 1
39 13 1
52 13 1
52 13 1
52 13 1
51 13 1
51 13 1
51 13 1
51 13 1
51 13 1
51 13 1