apache / ambari
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | 3% | 12% | 17% | 64%
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
java1% | 3% | 13% | 17% | 64%
py2% | 5% | 18% | 21% | 52%
js<1% | 3% | 7% | 15% | 72%
cs0% | 0% | 14% | 11% | 73%
rb0% | 0% | 0% | 12% | 87%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
ambari-server1% | 3% | 15% | 18% | 60%
ambari-web1% | 3% | 7% | 15% | 71%
contrib<1% | 2% | 8% | 17% | 70%
ambari-common0% | 4% | 15% | 20% | 59%
ambari-agent0% | 5% | 20% | 18% | 55%
ambari-server-spi0% | 0% | 17% | 4% | 77%
ambari-admin0% | 0% | 1% | 18% | 80%
ambari-utility0% | 0% | 40% | 14% | 44%
dev-support0% | 0% | 26% | 47% | 25%
ROOT0% | 0% | 0% | 36% | 63%
ambari-serviceadvisor0% | 0% | 0% | 0% | 100%
ambari-views0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
437 119 3
306 96 2
291 82 4
338 82 11
217 74 0
211 74 2
172 64 3
259 64 3
270 62 1
172 62 2
182 60 5
123 59 2
847 59 5
180 58 2
229 55 2
184 53 2
280 53 1
266 53 1
165 53 5
190 49 4
92 47 0
90 47 6
40 46 1
183 46 4
213 44 0
107 44 1
233 44 2
282 44 1
93 43 3
98 43 5
31 42 1
168 41 6
112 41 3
128 41 1
64 40 1
179 40 1
179 40 1
114 40 6
291 40 1
207 40 3
87 40 2
92 39 1
144 38 6
276 37 2
133 37 3
325 37 2
218 37 1
122 36 3
200 36 0
76 36 2