elastic / elasticsearch
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
<1% | 1% | 8% | 13% | 75%
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
java<1% | 1% | 8% | 13% | 75%
py0% | 0% | 10% | 22% | 66%
groovy0% | 0% | 0% | 2% | 97%
c0% | 0% | 0% | 16% | 83%
cpp0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
x-pack<1% | 1% | 7% | 13% | 76%
server<1% | 1% | 9% | 14% | 74%
modules1% | 2% | 9% | 13% | 72%
libs0% | 3% | 8% | 14% | 73%
benchmarks0% | 9% | 18% | 9% | 62%
plugins0% | 6% | 10% | 13% | 69%
client0% | 4% | 1% | 25% | 67%
build-tools-internal0% | 0% | 9% | 10% | 80%
build-tools0% | 0% | 14% | 6% | 79%
distribution0% | 0% | 10% | 19% | 70%
qa0% | 0% | 3% | 11% | 84%
build-conventions0% | 0% | 19% | 8% | 72%
dev-tools0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
374 296 5
699 260 0
203 149 4
172 124 5
331 106 4
208 104 1
1094 92 3
270 92 0
306 90 2
610 89 4
190 88 1
160 86 1
178 85 1
318 75 4
106 70 4
163 68 3
312 66 1
173 66 1
187 58 2
158 55 2
258 54 1
81 50 0
187 50 3
233 50 1
110 49 1
81 49 0
117 49 9
297 49 10
230 49 2
133 48 2
109 48 2
95 48 2
189 48 3
72 48 1
74 47 0
211 47 3
133 46 8
136 46 7
147 46 2
127 46 2
143 45 2
139 45 1
136 45 0
80 45 0
133 45 3
386 44 1
103 44 3
87 44 0
162 44 2
150 44 2