apache / calcite
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | 4% | 14% | 15% | 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% | 4% | 14% | 15% | 64%
kts0% | 0% | 0% | 0% | 100%
kt0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
core1% | 4% | 13% | 16% | 63%
druid9% | 6% | 22% | 8% | 53%
linq4j0% | 3% | 18% | 9% | 69%
plus0% | 13% | 9% | 15% | 61%
elasticsearch0% | 3% | 13% | 18% | 63%
piglet0% | 0% | 21% | 10% | 67%
file0% | 0% | 33% | 2% | 63%
geode0% | 0% | 24% | 9% | 65%
server0% | 0% | 32% | 19% | 47%
splunk0% | 0% | 24% | 22% | 52%
example0% | 0% | 32% | 35% | 32%
cassandra0% | 0% | 13% | 20% | 66%
arrow0% | 0% | 21% | 25% | 53%
testkit0% | 0% | 4% | 2% | 92%
mongodb0% | 0% | 9% | 31% | 59%
innodb0% | 0% | 4% | 25% | 70%
redis0% | 0% | 0% | 36% | 63%
spark0% | 0% | 0% | 14% | 85%
ubenchmark0% | 0% | 0% | 5% | 94%
pig0% | 0% | 0% | 4% | 95%
kafka0% | 0% | 0% | 0% | 100%
buildSrc0% | 0% | 0% | 0% | 100%
babel0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
88 82 0
473 79 2
339 76 9
261 74 4
196 62 4
154 59 4
162 58 6
111 51 1
85 50 3
231 48 2
252 46 3
172 46 3
94 44 4
119 43 1
73 41 2
123 40 6
157 40 7
106 40 4
126 39 6
150 38 3
59 38 2
198 38 6
187 38 2
170 37 2
85 36 6
125 36 1
90 35 3
77 34 2
47 34 2
73 33 4
167 33 2
80 33 3
100 32 1
52 32 2
300 31 7
38 31 3
135 30 5
61 29 1
90 28 2
64 28 0
48 28 2
105 28 3
114 28 3
122 28 1
112 27 4
105 27 2
45 27 0
103 27 3
69 27 2
118 27 1