WSAL_Settings D

Total Complexity 324
Dependencies 5
Dependents 5
Total lines 2,082
Lines of code 1,079
Logical lines of code 521
Comment lines 761
Methods 127
Properties 15

Methods 127

Method Rating Maintainability Complexity Lines of code
UserCan()
C
38 24 70
get_token_type()
A
45 16 39
check_ipv4_in_range()
A
45 11 38
SetAllowedPluginViewers()
A
49 9 32
SetExcludedMonitoringUsers()
A
50 8 30
set_excluded_post_types()
A
50 8 30
SetExcludedMonitoringRoles()
A
50 8 30
SetExcludedPostMetaFields()
A
50 8 30
SetExcludedUserMetaFields()
A
50 8 30
SetExcludedMonitoringIP()
A
50 8 30
set_mainwp_child_stealth_mode()
A
51 8 25
get_server_directories()
S
46 6 41
GetDatetimeFormat()
S
52 7 24
ValidateIP()
S
57 6 17
get_view_site_id()
S
62 6 12
GetClientIPs()
S
52 5 27
GetAdmins()
S
53 5 22
GetColumns()
S
48 4 37
GetMainClientIP()
S
58 5 15
set_login_page_notification_text()
S
65 5 8
GetCurrentUserRoles()
S
65 5 9
SetPruningDateEnabled()
S
58 4 13
NormalizeIP()
S
61 4 11
SetIncognito()
S
62 4 11
set_login_page_notification()
S
61 3 12
get_sites()
S
61 3 12
SetMainIPFromProxy()
S
62 3 11
set_restrict_plugin_setting()
S
61 3 11
GetDisabledAlerts()
S
64 3 9
is_current_page()
S
66 3 9
determine_added_and_removed_items()
S
65 3 8
GetPruningDate()
S
66 3 9
reset_stealth_mode()
S
67 3 8
tidy_blank_values()
S
78 2 3
IsLoginSuperAdmin()
S
75 2 4
is_specific_view()
S
77 2 3
GetExcludedPostMetaFields()
S
68 2 7
GetExcludedMonitoringUsers()
S
70 2 6
get_excluded_post_types()
S
70 2 6
is_infinite_scroll()
S
78 2 3
GetExcludedUserMetaFields()
S
68 2 7
GetExcludedMonitoringIP()
S
70 2 6
GetDateFormat()
S
72 2 6
GetTimeFormat()
S
65 2 9
set_failed_login_limit()
S
68 2 7
set_visitor_failed_login_limit()
S
68 2 7
get_specific_view()
S
77 2 3
__construct()
S
68 2 7
GetExcludedMonitoringRoles()
S
70 2 6
GetSuperAdmins()
S
79 2 3
GetViewPerPage()
S
70 2 6
GetPruningLimit()
S
75 2 4
GetAllowedPluginViewers()
S
70 2 6
SetPruningDate()
S
71 2 6
get_ipv4_by_range()
S
62 1 11
is_main_blog()
S
80 1 3
get_admin_bar_notif_updates()
S
79 1 3
get_site_count()
S
72 1 5
set_admin_bar_notif_updates()
S
80 1 3
IsRefreshAlertsEnabled()
S
80 1 3
SetRefreshAlertsEnabled()
S
79 1 3
get_pruning_unit()
S
79 1 3
get_visitor_failed_login_limit()
S
79 1 3
GetDashboardWidgetMaxAlerts()
S
82 1 3
set_events_type_nav()
S
80 1 3
is_stealth_mode()
S
79 1 3
GetMaxAllowedAlerts()
S
82 1 3
deactivate_mainwp_child_stealth_mode()
S
69 1 7
GetDefaultPruningDate()
S
82 1 3
get_events_type_nav()
S
79 1 3
set_admin_bar_notif()
S
79 1 3
get_plugin_settings()
S
72 1 5
get_admin_blocking_plugin_support()
S
79 1 3
get_database_version()
S
79 1 3
set_geek_mode()
S
81 1 3
IsWidgetsEnabled()
S
80 1 3
delete_mainwp_enforced_settings()
S
81 1 3
set_mainwp_enforced_settings()
S
80 1 3
get_mainwp_enforced_settings()
S
80 1 3
set_admin_blocking_plugin_support()
S
80 1 3
set_pruning_unit()
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
SetWidgetsEnabled()
S
79 1 3
get_server_directory()
S
77 1 3
is_admin_bar_notif()
S
79 1 3
get_failed_login_limit()
S
79 1 3
SetDisplayName()
S
79 1 3
GetDisplayName()
S
80 1 3
IsDeleteData()
S
80 1 3
is_login_page_notification()
S
79 1 3
get_login_page_notification_text()
S
79 1 3
GetDefaultDisabledAlerts()
S
78 1 3
SetDisabledAlerts()
S
74 1 4
set_basic_mode()
S
79 1 3
IsIncognito()
S
80 1 3
SetDeleteData()
S
80 1 3
IsPruningLimitEnabled()
S
80 1 3
get_restrict_plugin_setting()
S
79 1 3
get_restrict_log_viewer()
S
79 1 3
set_restrict_log_viewer()
S
80 1 3
SetViewPerPage()
S
75 1 4
SetInternalIPsFiltering()
S
80 1 3
IsInternalIPsFiltered()
S
80 1 3
CurrentUserCan()
S
79 1 3
IsSandboxPageEnabled()
S
79 1 3
IsPruningDateEnabled()
S
80 1 3
IsMainIPFromProxy()
S
80 1 3
SetColumns()
S
79 1 3
GetFromEmail()
S
80 1 3
SetFromEmail()
S
79 1 3
get_use_email()
S
79 1 3
set_use_email()
S
80 1 3
SetWPBackend()
S
80 1 3
IsWPBackend()
S
80 1 3
GetColumnsSelected()
S
80 1 3
SetPruningLimitEnabled()
S
80 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
GetTimezone()
S
79 1 3
SetPruningLimit()
S
75 1 4
set_database_version()
S
80 1 3