elastic / go-libaudit
Unit Size

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

Intro
Learn more...
Unit Size Overall
12% | 12% | 33% | 22% | 19%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go12% | 12% | 33% | 22% | 19%
pl0% | 0% | 0% | 60% | 40%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
rule28% | 4% | 32% | 22% | 11%
aucoalesce15% | 14% | 33% | 14% | 21%
auparse0% | 25% | 19% | 38% | 15%
cmd0% | 26% | 43% | 15% | 14%
ROOT0% | 0% | 50% | 15% | 34%
sys0% | 0% | 0% | 0% | 100%
internal0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
185 57 2
145 46 4
134 45 1
69 16 1
64 18 0
63 45 1
63 22 2
58 14 0
56 18 1
56 14 0
53 19 1
50 14 1
47 12 2
46 9 1
44 15 1
41 13 2
40 9 1
40 10 1
40 12 1
39 8 1
36 8 0
36 7 0
35 8 1
35 8 1
34 6 2
33 12 1
33 12 3
32 9 1
32 11 1
31 7 4
31 9 1
30 8 2
30 3 1
30 3 1
28 8 1
28 6 1
28 9 1
27 6 1
27 5 4
27 6 2
26 7 1
24 7 1
24 9 0
24 7 1
23 5 1
23 5 1
22 5 1
22 4 1
22 4 1
21 6 1