GoogleCloudPlatform / alertmanager
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
6% | 11% | 19% | 18% | 44%
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
go6% | 11% | 19% | 18% | 44%
tsx0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
nflog24% | 17% | 18% | 8% | 31%
silence15% | 20% | 12% | 14% | 37%
config20% | 0% | 19% | 11% | 48%
cmd0% | 86% | 0% | 5% | 7%
cluster0% | 13% | 15% | 18% | 52%
notify0% | 7% | 32% | 24% | 35%
api0% | 11% | 14% | 31% | 42%
timeinterval0% | 21% | 7% | 22% | 48%
cli0% | 0% | 35% | 10% | 54%
dispatch0% | 0% | 20% | 28% | 50%
matchers0% | 0% | 14% | 26% | 58%
pkg0% | 0% | 31% | 17% | 51%
template0% | 0% | 24% | 9% | 65%
provider0% | 0% | 19% | 22% | 57%
inhibit0% | 0% | 0% | 59% | 40%
types0% | 0% | 0% | 24% | 75%
featurecontrol0% | 0% | 0% | 51% | 48%
ui0% | 0% | 0% | 0% | 100%
store0% | 0% | 0% | 0% | 100%
asset0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
359 106 1
241 95 1
313 90 1
167 47 1
183 45 1
359 42 0
147 41 1
133 37 1
133 37 1
119 34 1
119 34 1
116 32 1
138 30 1
83 30 1
90 25 1
78 24 1
78 24 1
78 24 1
84 23 1
146 23 1
50 23 1
111 18 14
91 18 1
74 18 1
50 17 2
117 17 1
57 16 1
57 16 4
93 16 1
71 16 1
91 15 1
60 15 1
39 15 1
60 15 1
60 15 1
20 14 2
28 14 1
53 14 1
64 14 1
83 14 1
42 14 1
84 14 1
56 13 2
64 13 1
58 13 1
31 12 1
35 12 1
59 12 1
41 12 1
46 12 1