WSAL_Settings D

Total Complexity 369
Dependencies 8
Dependents 6
Total lines 2,190
Lines of code 1,184
Logical lines of code 719
Comment lines 771
Methods 127
Properties 14

Methods 127

Method Rating Maintainability Complexity Lines of code
meta_formatter()
D
6
114 329
UserCan()
C
38 24 70
get_token_type()
A
45 16 39
check_ipv4_in_range()
A
45 11 38
GetDatetimeFormat()
A
49 8 31
set_mainwp_child_stealth_mode()
A
51 8 25
get_server_directories()
S
46 6 41
ValidateIP()
S
57 6 17
get_view_site_id()
S
62 6 12
GetClientIPs()
S
53 5 26
GetColumns()
S
48 4 37
GetAdmins()
S
53 5 22
GetMainClientIP()
S
58 5 15
GetCurrentUserRoles()
S
65 5 9
NormalizeIP()
S
61 4 11
get_sites()
S
61 3 12
SwitchToArchiveDB()
S
56 2 17
GetPruningDate()
S
66 3 9
GetDisabledAlerts()
S
64 3 9
is_current_page()
S
66 3 9
reset_stealth_mode()
S
67 3 8
GetExcludedMonitoringUsers()
S
70 2 6
IsLoginSuperAdmin()
S
75 2 4
__construct()
S
68 2 7
get_excluded_post_types()
S
70 2 6
GetExcludedMonitoringCustom()
S
68 2 7
GetExcludedMonitoringIP()
S
70 2 6
GetDateFormat()
S
72 2 6
GetTimeFormat()
S
65 2 9
GetViewPerPage()
S
70 2 6
set_failed_login_limit()
S
68 2 7
set_visitor_failed_login_limit()
S
68 2 7
is_specific_view()
S
77 2 3
get_specific_view()
S
77 2 3
is_infinite_scroll()
S
78 2 3
GetSuperAdmins()
S
79 2 3
GetExcludedMonitoringRoles()
S
70 2 6
GetAllowedPluginViewers()
S
70 2 6
GetPruningLimit()
S
75 2 4
SetPruningDate()
S
71 2 6
get_ipv4_by_range()
S
62 1 11
IsArchivingEnabled()
S
80 1 3
SetRefreshAlertsEnabled()
S
79 1 3
is_stealth_mode()
S
79 1 3
GetDashboardWidgetMaxAlerts()
S
82 1 3
deactivate_mainwp_child_stealth_mode()
S
69 1 7
GetMaxAllowedAlerts()
S
82 1 3
GetDefaultPruningDate()
S
82 1 3
get_visitor_failed_login_limit()
S
79 1 3
is_main_blog()
S
80 1 3
get_pruning_unit()
S
79 1 3
get_failed_login_limit()
S
79 1 3
set_pruning_unit()
S
80 1 3
GetDisplayName()
S
80 1 3
SetDisplayName()
S
79 1 3
GetFromEmail()
S
80 1 3
SetFromEmail()
S
79 1 3
get_use_email()
S
79 1 3
IsRefreshAlertsEnabled()
S
80 1 3
get_admin_bar_notif_updates()
S
79 1 3
set_admin_bar_notif_updates()
S
80 1 3
set_geek_mode()
S
81 1 3
set_mainwp_enforced_settings()
S
80 1 3
get_mainwp_enforced_settings()
S
80 1 3
get_admin_blocking_plugin_support()
S
79 1 3
set_admin_blocking_plugin_support()
S
80 1 3
get_only_me_user_id()
S
80 1 3
set_only_me_user_id()
S
80 1 3
set_frontend_events()
S
78 1 3
get_frontend_events()
S
65 1 9
get_server_directory()
S
77 1 3
SetWPBackend()
S
80 1 3
IsWidgetsEnabled()
S
80 1 3
SetWidgetsEnabled()
S
79 1 3
get_plugin_settings()
S
72 1 5
set_events_type_nav()
S
80 1 3
get_events_type_nav()
S
79 1 3
is_admin_bar_notif()
S
80 1 3
slack_meta_formatter()
S
78 1 3
get_site_count()
S
72 1 5
set_admin_bar_notif()
S
79 1 3
set_use_email()
S
80 1 3
IsWPBackend()
S
80 1 3
set_restrict_plugin_setting()
S
80 1 3
IsIncognito()
S
80 1 3
set_login_page_notification_text()
S
75 1 4
get_login_page_notification_text()
S
79 1 3
GetDefaultDisabledAlerts()
S
78 1 3
SetInternalIPsFiltering()
S
80 1 3
IsInternalIPsFiltered()
S
80 1 3
SetMainIPFromProxy()
S
80 1 3
IsMainIPFromProxy()
S
80 1 3
SetDisabledAlerts()
S
74 1 4
SetIncognito()
S
80 1 3
SetExcludedMonitoringUsers()
S
75 1 4
IsDeleteData()
S
80 1 3
SetDeleteData()
S
80 1 3
CurrentUserCan()
S
79 1 3
SetAllowedPluginViewers()
S
75 1 4
SetViewPerPage()
S
75 1 4
set_restrict_log_viewer()
S
80 1 3
get_restrict_log_viewer()
S
79 1 3
get_restrict_plugin_setting()
S
79 1 3
is_login_page_notification()
S
79 1 3
set_login_page_notification()
S
80 1 3
SetColumns()
S
79 1 3
GetTimezone()
S
79 1 3
GetColumnsSelected()
S
80 1 3
SetAdapterConfig()
S
79 1 3
GetAdapterConfig()
S
79 1 3
set_type_username()
S
80 1 3
get_type_username()
S
79 1 3
set_show_milliseconds()
S
80 1 3
get_show_milliseconds()
S
79 1 3
SetTimezone()
S
80 1 3
SetPruningLimit()
S
75 1 4
set_excluded_post_types()
S
75 1 4
SetPruningDateEnabled()
S
80 1 3
SetPruningLimitEnabled()
S
80 1 3
IsPruningDateEnabled()
S
80 1 3
SetExcludedMonitoringIP()
S
75 1 4
IsPruningLimitEnabled()
S
80 1 3
SetExcludedMonitoringCustom()
S
75 1 4
set_basic_mode()
S
79 1 3
SetExcludedMonitoringRoles()
S
75 1 4
IsSandboxPageEnabled()
S
79 1 3
delete_mainwp_enforced_settings()
S
80 1 3