WpSecurityAuditLog D

Total Complexity 196
Dependencies 27
Dependents 16
Total lines 1,395
Lines of code 675
Logical lines of code 353
Comment lines 538
Methods 52
Properties 6

Methods 52

Method Rating Maintainability Complexity Lines of code
should_load()
B
42 23 46
init_freemius()
B
43 17 44
ajax_disable_custom_field()
A
43 13 45
is_frontend()
S
66 8 8
is_frontend_page()
S
66 8 8
init_hooks()
S
49 6 28
ajax_disable_by_code()
S
52 6 23
init()
S
55 6 19
wsal_hide_plugin()
S
57 6 18
wsal_plugin_redirect()
S
56 6 16
install()
S
48 5 31
is_rest_api()
S
61 5 11
delete_failed_logins()
S
53 4 22
setup()
S
58 4 16
limited_license_activation_error()
S
59 4 13
is_admin_blocking_plugins_support_enabled()
S
61 4 11
maybe_sync_premium_freemius()
S
64 4 9
hide_plugin()
S
60 3 14
render_login_page_message()
S
60 3 13
getInstance()
S
62 3 12
adjust_freemius_strings()
S
63 3 11
render_footer()
S
52 2 25
get_transient_keys_with_prefix()
S
58 2 15
sync_premium_freemius()
S
65 3 9
load_wsal()
S
66 3 8
hide_freemius_submenu_items()
S
67 3 9
dequeue_conflicting_scripts()
S
69 3 6
close_external_connection()
S
67 3 8
deactivate_actions()
S
68 3 8
should_load_frontend()
S
70 3 5
recurring_schedules()
S
52 1 27
__construct()
S
56 1 18
wsal_freemius_update_connect_message()
S
58 1 17
get_allowed_html_tags()
S
60 1 16
__get()
S
74 2 5
settings()
S
71 2 6
includes()
S
70 2 6
wsal_deprecate()
S
72 2 5
freemius_show_admin_notice()
S
72 2 6
clean_up()
S
74 2 5
remove_cleanup_hook()
S
72 2 5
get_instance()
S
69 2 7
wsal_freemius_connect_message()
S
63 1 11
is_mainwp_active()
S
80 1 3
load_defaults()
S
75 1 4
uninstall()
S
81 1 3
load_freemius()
S
79 1 3
add_cleanup_hook()
S
80 1 3
is_premium_freemius()
S
79 1 3
load_for_visitor_events()
S
77 1 3
raw_alert_is_enabled()
S
70 1 5
on_freemius_premium_version_activation()
S
82 1 3