elastic / beats
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
6% | 2% | 17% | 21% | 51%
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
go6% | 2% | 17% | 22% | 51%
js12% | 9% | 16% | 13% | 47%
py0% | 0% | 35% | 28% | 36%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
x-pack9% | 1% | 17% | 21% | 48%
libbeat7% | 3% | 14% | 20% | 54%
filebeat16% | 1% | 15% | 16% | 49%
metricbeat<1% | 1% | 15% | 24% | 57%
packetbeat0% | 8% | 21% | 21% | 49%
auditbeat0% | 11% | 18% | 23% | 46%
winlogbeat0% | 1% | 11% | 31% | 55%
dev-tools0% | 0% | 28% | 21% | 49%
heartbeat0% | 0% | 12% | 25% | 62%
script0% | 0% | 24% | 40% | 35%
testing0% | 0% | 0% | 88% | 11%
ROOT0% | 0% | 0% | 53% | 46%
licenses0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
4662 1552 1
2596 690 2
1876 588 1
363 326 1
1140 278 1
771 229 2
575 141 1
257 65 1
193 55 2
218 52 4
168 52 6
246 51 1
82 50 1
193 49 1
184 47 1
189 47 1
201 44 1
124 44 1
102 43 1
169 41 1
208 39 8
93 35 1
99 35 1
173 35 5
109 35 1
97 35 1
145 34 1
123 34 1
162 33 1
133 32 1
147 32 1
158 31 1
46 31 2
81 30 2
102 30 1
119 30 5
76 30 1
131 30 2
132 30 2
79 29 5
87 29 1
160 29 1
45 29 1
117 29 1
120 29 2
181 28 1
83 28 2
90 28 4
140 28 1
78 28 4