alibaba / canal
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
4% | 5% | 17% | 17% | 55%
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
java4% | 5% | 17% | 17% | 55%
js0% | 0% | 6% | 6% | 87%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
dbsync17% | 11% | 11% | 11% | 47%
client-adapter5% | 4% | 24% | 17% | 49%
parse2% | 6% | 17% | 19% | 53%
server0% | 24% | 5% | 16% | 53%
deployer0% | 17% | 18% | 17% | 46%
driver0% | 6% | 17% | 10% | 66%
connector0% | 2% | 29% | 22% | 45%
example0% | 0% | 24% | 22% | 53%
store0% | 0% | 19% | 21% | 58%
admin0% | 0% | 7% | 15% | 77%
instance0% | 0% | 7% | 20% | 71%
common0% | 0% | 6% | 14% | 79%
protocol0% | 0% | 11% | 14% | 74%
prometheus0% | 0% | 7% | 16% | 76%
sink0% | 0% | 10% | 18% | 70%
client0% | 0% | 0% | 30% | 69%
meta0% | 0% | 0% | 29% | 70%
filter0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
620 116 5
212 72 6
207 72 4
194 69 4
194 69 4
315 67 3
188 67 2
105 46 4
159 43 6
87 42 1
136 42 7
101 41 2
104 39 3
124 37 2
168 35 0
89 35 5
89 34 5
212 34 1
56 33 2
244 32 2
91 31 1
141 29 1
61 29 2
108 28 2
105 27 3
135 27 2
74 27 2
55 26 1
98 26 5
116 25 2
85 25 2
104 25 3
101 25 1
128 24 4
34 24 1
38 24 1
78 24 2
88 24 2
77 23 4
47 23 2
87 23 3
127 23 6
80 23 2
129 23 6
42 23 2
129 23 6
73 23 3
39 22 1
74 22 4
48 22 2