apache / incubator-ambari
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
<1% | 4% | 11% | 15% | 67%
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
js1% | 2% | 12% | 14% | 68%
py<1% | 5% | 12% | 19% | 62%
java0% | 5% | 9% | 15% | 69%
php0% | 12% | 36% | 12% | 38%
cs0% | 0% | 10% | 7% | 82%
rb0% | 0% | 0% | 0% | 100%
pl0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
ambari-web1% | 2% | 12% | 14% | 68%
ambari-server<1% | 6% | 10% | 16% | 66%
ambari-common0% | 3% | 9% | 14% | 71%
contrib0% | 1% | 14% | 15% | 69%
ambari-agent0% | 0% | 15% | 23% | 61%
ambari-client0% | 0% | 12% | 10% | 77%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
124 61 1
188 61 2
171 55 1
111 53 0
150 48 0
143 44 0
94 41 5
214 39 8
200 38 3
193 38 4
85 37 1
85 36 2
93 35 3
102 35 3
89 34 3
149 33 1
30 32 1
108 32 1
87 31 1
163 31 1
182 30 1
20 30 1
183 29 3
90 29 2
93 28 1
116 28 1
171 28 1
31 28 1
126 28 1
131 28 0
20 28 1
73 27 3
97 27 1
91 27 1
43 27 2
100 27 3
93 26 1
152 26 0
97 25 1
80 25 1
121 24 2
153 24 1
31 24 3
55 24 2
99 24 1
103 24 1
96 24 0
96 23 3
77 23 0
62 23 1