WSAL_AlertManager D

Total Complexity 337
Dependencies 20
Dependents 6
Total lines 1,944
Lines of code 1,069
Logical lines of code 641
Comment lines 656
Methods 56
Properties 10

Methods 56

Method Rating Maintainability Complexity Lines of code
filter_query()
D
25
44 149
Log()
D
35 35 72
generate_report()
C
32 31 88
Trigger()
B
43 19 45
TriggerIf()
B
45 17 40
get_alert_details()
A
40 12 60
get_codes_by_groups()
A
48 13 35
generate_statistics_unique_ips()
A
48 12 30
get_event_user_data()
A
46 10 39
RegisterGroup()
A
50 10 29
get_mainwp_extension_events()
A
47 9 35
log_temp_alerts()
A
50 8 28
get_mainwp_extension_report()
S
56 7 17
get_user_ids()
S
51 6 26
IsDisabledIP()
S
54 6 21
_CommitItem()
S
57 6 15
get_admin_bar_event()
S
58 6 14
GetCategorizedAlerts()
S
59 5 16
schedule_log_events()
S
59 5 15
get_event_type_data()
S
44 3 43
get_sub_categorized_events()
S
60 5 13
WillTrigger()
S
61 5 12
get_event_objects_data()
S
47 3 35
CheckEnableUserRoles()
S
64 5 10
get_latest_events()
S
59 4 14
Register()
S
58 4 14
__construct()
S
50 2 24
get_alerts_by_sub_category()
S
65 3 9
get_alerts_by_category()
S
65 3 9
IsDisabledRole()
S
65 3 9
RemoveByClass()
S
68 3 7
GetArrayDepth()
S
65 3 9
pad_key()
S
77 2 3
_CommitPipeline()
S
72 2 5
WillOrHasTriggered()
S
78 2 3
IsDisabledUser()
S
78 2 3
is_disabled_post_type()
S
78 2 3
GetAlert()
S
71 2 6
duplicate_event_notice()
S
62 1 11
get_disabled_post_types()
S
81 1 3
GetDisabledUsers()
S
81 1 3
AddFromFile()
S
75 1 4
AddFromClass()
S
80 1 3
AddInstance()
S
80 1 3
GetDisabledRoles()
S
81 1 3
get_event_sub_categories()
S
80 1 3
add_string_wildcards()
S
80 1 3
GetLoggers()
S
82 1 3
get_deprecated_events()
S
82 1 3
get_display_event_type_text()
S
80 1 3
get_display_object_text()
S
80 1 3
GetAlerts()
S
82 1 3
get_public_events()
S
76 1 3
SetDisabledAlerts()
S
81 1 3
GetDisabledAlerts()
S
81 1 3
IsEnabled()
S
75 1 4