WpSecurityAuditLog D

Total Complexity 287
Dependencies 30
Dependents 34
Total lines 2,171
Lines of code 1,081
Logical lines of code 622
Comment lines 826
Methods 87
Properties 11

Methods 87

Method Rating Maintainability Complexity Lines of code
mainwp_dashboard_callback()
C
34 26 83
Update()
B
40 16 55
init_freemius()
B
44 17 37
init()
A
44 16 40
autoloader()
A
45 12 39
Migrate()
A
42 8 49
is_plugin_active()
A
52 9 24
Install()
A
44 7 45
define_constants()
A
56 8 23
AjaxDisableCustomField()
S
47 6 36
is_frontend()
S
66 8 8
should_load()
S
62 7 12
AjaxDisableByCode()
S
52 6 23
wsal_plugin_redirect()
S
55 6 18
includes()
S
43 3 55
init_hooks()
S
49 4 29
sync_premium_freemius()
S
60 5 14
is_rest_api()
S
61 5 11
delete_failed_logins()
S
55 4 18
is_admin_blocking_plugins_support_enabled()
S
58 4 14
load_wsal()
S
55 3 20
maybe_add_sessions_trackers_early()
S
57 3 17
wsal_log()
S
65 4 9
setup()
S
61 3 14
HidePlugin()
S
60 3 14
render_login_page_message()
S
60 3 13
adjust_freemius_strings()
S
63 3 11
limited_license_activation_error()
S
61 3 11
wsal_hide_plugin()
S
65 3 10
deactivate_actions()
S
68 3 8
dequeue_conflicting_scripts()
S
69 3 6
should_load_frontend()
S
70 3 5
is_wpseo_active()
S
72 3 5
recurring_schedules()
S
52 1 27
__construct()
S
60 2 12
render_footer()
S
54 1 21
set_allowed_html_tags()
S
60 1 16
RemoveCleanupHook()
S
72 2 5
wsal_deprecate()
S
72 2 5
GetInstance()
S
69 2 7
uninstall()
S
70 2 6
IsMultisite()
S
79 2 3
include_options_helper()
S
68 2 7
hide_freemius_submenu_items()
S
71 2 6
settings()
S
71 2 6
__get()
S
74 2 5
load_sessions_extension_db_adapter()
S
67 2 8
CleanUp()
S
74 2 5
is_bbpress_active()
S
73 2 5
GetNewVersion()
S
74 2 4
freemius_show_admin_notice()
S
72 2 6
is_woocommerce_active()
S
73 2 5
wsal_freemius_update_connect_message()
S
60 1 14
wsal_freemius_connect_message()
S
60 1 14
GetClassFileClassName()
S
80 1 3
CountNotifications()
S
77 1 4
UpdateGlobalOption()
S
79 1 3
load_freemius()
S
79 1 3
is_mainwp_active()
S
79 1 3
is_twofactor_active()
S
79 1 3
is_premium_freemius()
S
80 1 3
load_for_visitor_events()
S
77 1 3
is_login_screen()
S
77 1 3
raw_alert_is_enabled()
S
70 1 5
query_for_latest_event()
S
70 1 6
change_reshow_trial_period()
S
80 1 3
on_freemius_premium_version_activation()
S
77 1 4
GetNotification()
S
77 1 4
load_defaults()
S
82 1 3
GetNotificationsSetting()
S
76 1 4
SetGlobalBooleanSetting()
S
74 1 4
GetGlobalOption()
S
79 1 3
GetGlobalSetting()
S
76 1 4
SetGlobalOption()
S
80 1 3
SetGlobalSetting()
S
76 1 4
DeleteGlobalSetting()
S
77 1 4
GetGlobalBooleanSetting()
S
74 1 4
GetOldVersion()
S
79 1 3
GetBaseName()
S
80 1 3
change_show_first_trial_period()
S
80 1 3
AddCleanupHook()
S
80 1 3
getConnector()
S
79 1 3
IsInstalled()
S
80 1 3
CanMigrate()
S
80 1 3
GetBaseUrl()
S
79 1 3
GetBaseDir()
S
80 1 3
freemius_trial_promotion_message()
S
66 1 8