elastic / elastic-agent-libs
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 10% | 22% | 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
go0% | 0% | 10% | 22% | 67%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
transport0% | 0% | 17% | 29% | 53%
match0% | 0% | 24% | 34% | 41%
processors0% | 0% | 26% | 15% | 58%
loader0% | 0% | 46% | 0% | 53%
kibana0% | 0% | 13% | 22% | 63%
testing0% | 0% | 8% | 14% | 77%
mapstr0% | 0% | 11% | 29% | 59%
cloudid0% | 0% | 39% | 0% | 60%
dev-tools0% | 0% | 6% | 14% | 78%
helpers0% | 0% | 5% | 24% | 69%
api0% | 0% | 15% | 21% | 63%
monitoring0% | 0% | 2% | 11% | 86%
logp0% | 0% | 0% | 20% | 79%
keystore0% | 0% | 0% | 51% | 48%
file0% | 0% | 0% | 26% | 73%
config0% | 0% | 0% | 25% | 74%
service0% | 0% | 0% | 46% | 53%
version0% | 0% | 0% | 45% | 55%
safemapstr0% | 0% | 0% | 68% | 31%
filewatcher0% | 0% | 0% | 49% | 50%
paths0% | 0% | 0% | 31% | 68%
transform0% | 0% | 0% | 0% | 100%
opt0% | 0% | 0% | 0% | 100%
periodic0% | 0% | 0% | 0% | 100%
str0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
useragent0% | 0% | 0% | 0% | 100%
upgrade0% | 0% | 0% | 0% | 100%
iobuf0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
70 20 2
35 18 2
39 17 2
86 16 0
48 15 1
40 14 1
60 14 6
47 14 1
54 14 1
49 14 1
59 14 1
39 13 1
50 13 1
55 13 3
75 12 1
47 12 1
40 12 1
34 12 2
20 11 2
38 11 4
28 11 1
93 11 1
42 11 1
34 11 1
33 11 3
51 11 1
40 10 1
40 10 1
41 10 3
49 10 8
26 10 1
32 9 3
43 9 2
39 9 1
27 9 1
35 9 2
23 9 1
46 9 1
23 9 1
11 9 1
27 9 2
24 8 1
26 8 1
28 8 1
29 8 1
27 8 2
29 8 2
22 8 1
8 8 1
8 8 1