elastic / apm-agent-go
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
2% | 7% | 17% | 23% | 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
go2% | 7% | 17% | 23% | 49%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
ROOT9% | 8% | 12% | 18% | 50%
model0% | 15% | 35% | 19% | 29%
module0% | 4% | 13% | 23% | 58%
sqlutil0% | 30% | 21% | 31% | 16%
internal0% | 5% | 27% | 31% | 35%
scripts0% | 0% | 57% | 18% | 23%
transport0% | 0% | 14% | 35% | 50%
stacktrace0% | 0% | 0% | 63% | 36%
apmtest0% | 0% | 0% | 29% | 70%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
412 110 1
178 39 1
192 39 1
87 38 1
113 37 1
100 36 1
96 36 1
94 35 1
98 27 1
97 27 1
60 27 1
59 26 1
79 25 1
79 25 1
87 25 1
80 24 1
66 24 1
80 23 1
65 21 1
70 21 1
109 21 1
56 20 1
73 19 1
80 19 1
58 19 1
42 18 1
86 18 1
60 17 0
53 16 1
36 16 1
55 16 1
63 15 1
63 15 1
61 15 1
40 15 1
82 15 1
37 15 0
62 15 1
64 14 1
52 14 1
53 14 1
50 14 0
46 14 1
41 13 1
51 13 1
46 13 1
28 12 1
48 11 1
20 11 1
76 11 3