elastic / detection-rules
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
5% | 8% | 26% | 26% | 33%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py5% | 8% | 26% | 26% | 33%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
detection_rules6% | 9% | 27% | 25% | 30%
lib0% | 0% | 15% | 29% | 55%
hunting0% | 0% | 29% | 33% | 36%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
170 58 14
114 50 9
105 31 6
101 35 13
94 24 4
86 31 4
86 54 2
83 47 4
74 24 5
70 29 1
68 29 4
65 3 13
63 19 5
52 31 3
49 23 0
49 20 8
48 9 8
48 13 2
47 10 4
45 22 1
45 11 6
45 22 2
44 10 7
44 14 5
44 9 5
43 8 7
43 16 5
42 4 3
42 22 1
41 5 1
41 13 8
40 22 4
38 15 2
38 13 4
37 5 1
36 10 2
36 12 2
34 13 5
32 10 4
32 9 4
32 13 4
31 11 4
30 15 5
30 8 2
29 15 2
29 12 4
28 4 2
28 4 1
28 5 1
28 4 1