spotify / robolectric
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
2% | 3% | 7% | 12% | 73%
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
java2% | 3% | 7% | 12% | 73%
groovy0% | 35% | 13% | 4% | 46%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
resources5% | 11% | 13% | 12% | 56%
shadows1% | <1% | 5% | 11% | 81%
utils17% | 0% | 1% | 8% | 71%
errorprone0% | 21% | 0% | 18% | 59%
buildSrc0% | 31% | 11% | 4% | 53%
robolectric0% | 0% | 9% | 17% | 72%
processor0% | 0% | 17% | 16% | 65%
sandbox0% | 0% | 9% | 15% | 74%
annotations0% | 0% | 0% | 27% | 72%
shadowapi0% | 0% | 0% | 20% | 79%
pluginapi0% | 0% | 0% | 15% | 84%
plugins0% | 0% | 0% | 9% | 90%
junit0% | 0% | 0% | 0% | 100%
integration_tests0% | 0% | 0% | 0% | 100%
testapp0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
126 96 1
190 93 2
156 73 3
156 71 1
306 71 4
242 60 3
231 58 5
230 56 4
153 44 8
57 43 2
189 43 3
141 41 8
104 39 3
168 38 4
92 38 4
193 37 2
35 33 1
126 31 9
82 31 4
165 30 2
98 30 4
103 29 4
118 29 9
116 29 8
67 26 1
125 26 5
119 26 1
157 25 1
48 25 4
109 25 4
109 25 4
43 25 1
48 24 1
26 23 0
120 23 1
68 22 2
68 21 1
70 21 5
68 21 2
101 21 2
44 21 0
25 20 1
80 20 2
106 20 0
99 19 3
24 19 2
80 19 4
87 19 3
63 19 3
44 18 1