mozilla / rhino
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
12% | 7% | 16% | 15% | 48%
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
java13% | 7% | 16% | 15% | 46%
js0% | 4% | 10% | 16% | 68%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
rhino15% | 8% | 17% | 15% | 43%
rhino-xml10% | 4% | 9% | 19% | 56%
benchmarks0% | 3% | 10% | 15% | 70%
rhino-tools0% | 5% | 20% | 17% | 56%
rhino-engine0% | 0% | 0% | 15% | 84%
testutils0% | 0% | 0% | 18% | 81%
rhino-kotlin0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
1397 304 3
425 228 1
641 211 0
417 208 1
215 206 2
217 206 1
213 205 1
381 189 1
433 143 6
537 140 2
660 123 2
517 97 4
313 97 5
224 96 5
188 91 1
176 90 2
277 85 2
87 83 0
263 79 2
222 74 5
79 73 0
210 72 8
154 71 2
282 70 1
185 65 4
243 65 1
240 65 1
256 63 1
139 63 2
138 63 2
95 62 3
132 58 1
205 55 1
211 55 2
178 54 1
112 52 2
233 51 2
201 49 1
153 49 1
102 47 2
110 44 5
159 44 4
95 44 2
180 43 1
100 43 5
195 43 2
148 41 1
70 41 1
97 41 1
131 40 4