apache / spark
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | 3% | 12% | 16% | 65%
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
scala2% | 4% | 13% | 17% | 62%
py1% | 2% | 10% | 13% | 71%
java<1% | 1% | 10% | 16% | 71%
js0% | 0% | 15% | 12% | 72%
pyi0% | 0% | 0% | 0% | 100%
c0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
sql2% | 5% | 14% | 16% | 61%
python1% | 2% | 8% | 11% | 76%
core1% | 2% | 12% | 17% | 65%
connector7% | 1% | 2% | 22% | 65%
resource-managers0% | 6% | 20% | 21% | 51%
mllib0% | 1% | 13% | 16% | 68%
common0% | 1% | 12% | 18% | 67%
dev0% | 15% | 30% | 14% | 39%
launcher0% | 9% | 19% | 16% | 54%
mllib-local0% | 0% | 20% | 31% | 47%
graphx0% | 0% | 8% | 10% | 80%
streaming0% | 0% | 1% | 18% | 80%
tools0% | 0% | 36% | 0% | 63%
hadoop-cloud0% | 0% | 0% | 34% | 65%
repl0% | 0% | 0% | 28% | 71%
project0% | 0% | 0% | 5% | 94%
R0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
544 225 1
515 156 2
533 139 3
252 137 2
275 133 2
381 116 1
389 113 1
134 94 4
288 93 1
192 86 1
191 81 1
54 81 1
336 81 1
145 78 4
234 77 1
83 75 1
88 73 4
165 72 2
361 72 3
195 70 1
164 69 2
228 68 1
85 67 1
201 67 3
155 66 1
343 64 3
107 64 2
255 64 2
145 63 2
94 61 1
93 60 3
86 58 1
35 58 1
101 58 1
58 57 2
133 57 2
197 56 4
163 55 3
196 55 4
85 52 1
139 52 1
35 51 1
120 50 3
102 50 4
177 50 3
301 49 3
144 49 3
114 48 2
136 48 1
129 48 4