elastic / detection-rules-dac-demo
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
<1% | 9% | 17% | 22% | 49%
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
py<1% | 9% | 17% | 22% | 49%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
detection_rules1% | 11% | 17% | 22% | 47%
lib0% | 0% | 14% | 21% | 64%
hunting0% | 0% | 24% | 21% | 53%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
86 54 2
157 48 10
119 47 9
83 47 4
95 35 11
86 31 4
52 31 3
105 31 6
69 29 1
68 29 4
94 24 4
49 23 0
40 22 4
45 22 2
42 22 1
27 21 4
58 20 5
49 20 8
20 19 2
63 19 5
39 18 1
22 17 3
27 17 1
21 17 1
27 17 4
43 16 5
23 16 2
21 15 2
30 15 5
38 15 2
29 15 2
44 14 5
23 14 3
34 13 5
41 13 8
15 13 2
32 13 4
48 13 2
20 13 3
27 13 2
38 13 4
22 12 2
27 12 3
22 12 2
36 12 2
27 12 11
29 12 4
28 12 6
23 12 2
22 12 1