Code Analysis: Limit Login Attempts Reloaded 2.25.4

Function Rating Maintainability Complexity Lines of code
Limit_Login_Attempts::options_page()
D
27
44 120
Limit_Login_Attempts::limit_login_failed()
C
33 25 95
Limit_Login_Attempts::authenticate_filter()
B
37 21 66
Limit_Login_Attempts::cleanup()
B
43 20 47
Limit_Login_Attempts::app_load_log_callback()
A
40 14 59
Limit_Login_Attempts::show_enable_notify_notice()
A
37 11 94
Limit_Login_Attempts::notify_email()
A
35 10 89
Limit_Login_Attempts::get_address()
A
48 12 32
Limit_Login_Attempts::setup()
A
43 11 44
Limit_Login_Attempts::app_load_lockouts_callback()
A
43 11 44
Limit_Login_Attempts::calculate_retries_remaining()
A
50 11 28
Limit_Login_Attempts::ip_in_range()
A
51 11 25
Limit_Login_Attempts::wp_authenticate_user()
A
51 10 26
Limit_Login_Attempts::show_leave_review_notice()
A
41 7 69
Limit_Login_Attempts::fixup_error_messages()
A
52 9 23
Limit_Login_Attempts::app_acl_add_rule_callback()
A
49 8 32
LLA_Helpers::sorted_log_by_date()
A
50 8 31
Limit_Login_Attempts::error_msg()
A
52 8 23
Limit_Login_Attempts::app_update_config()
A
56 8 17
Limit_Login_Attempts::app_setup_callback()
A
49 7 31
Limit_Login_Attempts::notify_log()
S
52 7 26
Limit_Login_Attempts::add_wc_notices()
S
61 8 11
Limit_Login_Attempts::app_load_acl_rules_callback()
S
46 6 38
LLAR_App::request()
S
53 7 21
Limit_Login_Attempts::sanitize_options()
S
55 7 18
Limit_Login_Attempts::app_toggle_country_callback()
S
51 6 30
Limit_Login_Attempts::menu_alert_icon()
S
59 7 13
Limit_Login_Attempts::app_log_action_callback()
S
51 6 27
Limit_Login_Attempts::app_acl_remove_rule_callback()
S
52 6 25
Limit_Login_Attempts::authenticate_filter_errors_fix()
S
60 6 13
Limit_Login_Attempts::get_all_ips()
S
60 6 13
LLAR_App::setup()
S
50 5 27
Limit_Login_Attempts::app_country_rule_callback()
S
54 5 22
LLAR_cidr_check::IPv4Match()
S
61 6 10
Limit_Login_Attempts::dismiss_review_notice_callback()
S
58 5 14
Limit_Login_Attempts::dismiss_notify_notice_callback()
S
58 5 14
Limit_Login_Attempts::get_message()
S
61 5 13
Limit_Login_Attempts::add_error_message()
S
61 5 12
LLAR_App::prepare_settings()
S
61 5 12
LLAR_cidr_check::match()
S
60 5 12
Limit_Login_Attempts::ajax_unlock()
S
52 4 24
Limit_Login_Attempts::login_page_render_js()
S
57 4 21
Limit_Login_Attempts::get_option()
S
62 5 10
Limit_Login_Attempts::notify()
S
61 4 13
Limit_Login_Attempts::hooks_init()
S
46 2 37
Limit_Login_Attempts::is_limit_login_ok()
S
65 4 8
Limit_Login_Attempts::detect_gateway()
S
64 4 9
Limit_Login_Attempts::welcome_page_redirect()
S
65 4 8
Limit_Login_Attempts::get_remaining_attempts_message_callback()
S
63 4 9
Limit_Login_Attempts::setup_cookie()
S
67 4 7
Limit_Login_Attempts::app_load_country_access_rules_callback()
S
60 3 14
Limit_Login_Attempts::enable_notify_callback()
S
60 3 13
Limit_Login_Attempts::admin_menu()
S
56 2 20
Limit_Login_Attempts::xmlrpc_error_messages()
S
65 3 9
Limit_Login_Attempts::enqueue()
S
63 3 9
Limit_Login_Attempts::register_user_blacklist()
S
68 3 7
LLA_Helpers::check_ip_cidr()
S
71 3 5
Limit_Login_Attempts::get_options_page_uri()
S
63 3 10
Limit_Login_Attempts::setting_menu_alert_icon()
S
69 3 6
Limit_Login_Attempts::update_option()
S
67 3 7
Limit_Login_Attempts::add_option()
S
67 3 7
Limit_Login_Attempts::delete_option()
S
68 3 7
Limit_Login_Attempts::login_page_gdpr_message()
S
66 3 8
Limit_Login_Attempts::app_init()
S
72 3 5
LLAR_App::stats_global()
S
65 3 8
Limit_Login_Attempts::register_dashboard_widgets()
S
62 2 12
Limit_Login_Attempts::is_username_blacklisted()
S
68 2 7
LLA_Helpers::get_countries_list()
S
68 2 7
Limit_Login_Attempts::checkKey()
S
78 2 3
Limit_Login_Attempts::is_ip_whitelisted()
S
68 2 7
Limit_Login_Attempts::track_credentials()
S
75 2 4
Limit_Login_Attempts::is_ip_valid()
S
75 2 4
LLAR_App::add_error()
S
75 2 4
LLA_Helpers::show_error()
S
71 2 6
Limit_Login_Attempts::network_setting_menu_alert_icon()
S
70 2 6
Limit_Login_Attempts::check_original_installed()
S
67 2 8
Limit_Login_Attempts::is_username_whitelisted()
S
68 2 7
LLAR_App::__construct()
S
66 2 8
Limit_Login_Attempts::is_ip_blacklisted()
S
68 2 7
Limit_Login_Attempts::login_page_enqueue()
S
71 1 5
Limit_Login_Attempts::welcome_page()
S
80 1 3
Limit_Login_Attempts::check_blacklist_ips()
S
78 1 3
Limit_Login_Attempts::check_blacklist_usernames()
S
78 1 3
Limit_Login_Attempts::load_admin_scripts()
S
68 1 7
LLAR_App::get_errors()
S
82 1 3
Limit_Login_Attempts::activation()
S
79 1 3
Limit_Login_Attempts::get_svg_logo_content()
S
79 1 3
LLAR_App::acl_create()
S
79 1 3
Limit_Login_Attempts::failure_shake()
S
74 1 5
LLAR_App::acl()
S
79 1 3
LLAR_App::acl_check()
S
75 1 4
LLAR_App::log()
S
68 1 7
LLA_Shortcodes::llar_link_callback()
S
67 1 7
LLAR_App::country_add()
S
79 1 3
Limit_Login_Attempts::dashboard_widgets_content()
S
80 1 3
Limit_Login_Attempts::check_whitelist_usernames()
S
78 1 3
LLAR_App::country_rule()
S
79 1 3
Limit_Login_Attempts::fixup_error_messages_wc()
S
79 1 3
LLA_Shortcodes::register()
S
79 1 3
LLAR_App::country()
S
79 1 3
LLAR_App::get_config()
S
82 1 3
Limit_Login_Attempts::get_custom_app_config()
S
80 1 3
Limit_Login_Attempts::check_whitelist_ips()
S
78 1 3
Limit_Login_Attempts::show_error()
S
81 1 3
LLA_Helpers::is_mu()
S
78 1 3
LLA_Helpers::deslash()
S
69 1 6
LLAR_App::stats()
S
79 1 3
LLAR_App::get_id()
S
82 1 3
Limit_Login_Attempts::network_admin_menu()
S
77 1 3
Limit_Login_Attempts::add_action_links()
S
67 1 7
LLAR_App::get_lockouts()
S
70 1 6
Limit_Login_Attempts::__construct()
S
72 1 5
LLAR_App::lockout_check()
S
75 1 4
Limit_Login_Attempts::welcome_page_hide_menu()
S
80 1 3
Limit_Login_Attempts::getHash()
S
80 1 3
LLAR_App::acl_delete()
S
79 1 3
LLAR_App::country_remove()
S
79 1 3