Code Analysis: Limit Login Attempts Reloaded 2.26.8

Function Rating Maintainability Complexity Lines of code
LLAR\Core\LimitLoginAttempts::options_page()
D
26
47 121
LLAR\Core\LimitLoginAttempts::limit_login_failed()
C
33 25 95
LLAR\Core\LimitLoginAttempts::authenticate_filter()
B
37 23 68
LLAR\Core\LimitLoginAttempts::cleanup()
B
41 23 52
LLAR\Core\Ajax::app_load_log_callback()
B
36 17 76
LLAR\Core\LimitLoginAttempts::show_enable_notify_notice()
A
36 11 98
LLAR\Core\LimitLoginAttempts::login_page_render_js()
A
48 13 33
LLAR\Core\Ajax::app_load_lockouts_callback()
A
43 11 47
LLAR\Core\Helpers::detect_ip_address()
A
49 12 31
LLAR\Core\LimitLoginAttempts::notify_email()
A
37 8 75
LLAR\Core\LimitLoginAttempts::calculate_retries_remaining()
A
50 11 28
LLAR\Core\Helpers::ip_in_range()
A
50 11 25
LLAR\Core\LimitLoginAttempts::menu_alert_icon()
A
52 11 24
LLAR\Core\LimitLoginAttempts::show_leave_review_notice()
A
41 7 72
LLAR\Core\LimitLoginAttempts::wp_authenticate_user()
A
51 10 27
LLAR\Core\Ajax::activate_micro_cloud_callback()
A
46 9 40
LLAR\Core\LimitLoginAttempts::setup()
A
46 9 35
LLAR\Core\Ajax::subscribe_email_callback()
A
47 9 34
LLAR\Core\LimitLoginAttempts::admin_menu()
A
44 8 46
LLAR\Core\LimitLoginAttempts::fixup_error_messages()
A
52 9 23
LLAR\Core\Ajax::app_acl_add_rule_callback()
A
49 8 32
LLAR\Core\Helpers::sorted_log_by_date()
A
50 8 31
LLAR\Core\LimitLoginAttempts::error_msg()
A
52 8 23
LLAR\Core\Ajax::app_load_acl_rules_callback()
A
44 6 51
LLAR\Core\LimitLoginAttempts::get_submenu_items()
A
44 6 50
LLAR\Core\Helpers::cloud_app_update_config()
A
56 8 17
LLAR\Core\Config::sanitize_options()
S
50 7 27
LLAR\Core\LimitLoginAttempts::notify_log()
S
52 7 26
LLAR\Core\LimitLoginAttempts::add_wc_notices()
S
61 8 11
LLAR\Core\Ajax::app_toggle_country_callback()
S
51 6 30
LLAR\Core\Ajax::app_log_action_callback()
S
51 6 27
LLAR\Core\Ajax::app_acl_remove_rule_callback()
S
52 6 25
LLAR\Core\Http\HttpTransportFopen::request()
S
47 5 37
LLAR\Core\Ajax::toggle_auto_update_callback()
S
53 6 22
LLAR\Core\Helpers::get_all_ips()
S
59 6 13
LLAR\Core\Ajax::app_setup_callback()
S
52 5 27
LLAR\Core\LimitLoginAttempts::authenticate_filter_errors_fix()
S
61 6 12
LLAR\Core\CloudApp::setup()
S
50 5 27
LLAR\Core\Ajax::ajax_unlock()
S
51 5 26
LLAR\Core\Ajax::app_country_rule_callback()
S
54 5 22
LLAR\Core\Ajax::test_email_notifications_callback()
S
54 5 21
LLAR\Core\Helpers::is_block_automatic_update_disabled()
S
66 6 7
LLAR\Lib\CidrCheck::IPv4Match()
S
61 6 10
LLAR\Core\Ajax::dismiss_notify_notice_callback()
S
58 5 14
LLAR\Core\Ajax::dismiss_review_notice_callback()
S
58 5 14
LLAR\Core\LimitLoginAttempts::get_message()
S
61 5 13
LLAR\Core\CloudApp::prepare_settings()
S
60 5 13
LLAR\Lib\CidrCheck::match()
S
60 5 12
LLAR\Core\Http\Http::init()
S
62 5 11
LLAR\Core\Http\HttpTransportCurl::request()
S
55 4 19
LLAR\Core\CloudApp::activate_license_key()
S
56 4 17
LLAR\Core\CloudApp::request()
S
56 4 16
LLAR\Core\LimitLoginAttempts::info_is_exhausted()
S
65 5 9
LLAR\Core\LimitLoginAttempts::notify()
S
61 4 13
LLAR\Core\LimitLoginAttempts::enqueue()
S
50 3 27
LLAR\Core\Ajax::onboarding_reset_callback()
S
62 4 11
LLAR\Core\LimitLoginAttempts::dashboard_page_redirect()
S
62 4 11
LLAR\Core\LimitLoginAttempts::add_action_links()
S
54 3 20
LLAR\Core\LimitLoginAttempts::setup_cookie()
S
64 4 9
LLAR\Core\Config::get()
S
65 4 8
LLAR\Core\LimitLoginAttempts::is_limit_login_ok()
S
65 4 8
LLAR\Core\LimitLoginAttempts::info_block_by_country()
S
69 4 6
LLAR\Core\LimitLoginAttempts::info_requests()
S
69 4 6
LLAR\Core\LimitLoginAttempts::info_sub_group()
S
67 4 7
LLAR\Core\LimitLoginAttempts::info_upgrade_url()
S
69 4 6
LLAR\Core\Ajax::get_remaining_attempts_message_callback()
S
63 4 9
LLAR\Core\Helpers::detect_gateway()
S
64 4 9
LLAR\Core\Ajax::app_load_country_access_rules_callback()
S
60 3 14
LLAR\Core\Ajax::enable_notify_callback()
S
60 3 13
LLAR\Core\LimitLoginAttempts::get_options_page_uri()
S
62 3 11
LLAR\Core\LimitLoginAttempts::hooks_init()
S
52 2 22
LLAR\Core\LimitLoginAttempts::admin_bar_menu()
S
56 2 18
LLAR\Core\Helpers::use_local_options()
S
71 3 5
LLAR\Core\Http\HttpTransportFopen::post()
S
70 3 5
LLAR\Core\Helpers::is_ip_valid()
S
70 3 5
LLAR\Core\Http\HttpTransportCurl::post()
S
70 3 5
LLAR\Core\Http\HttpTransportFopen::get()
S
65 3 8
LLAR\Core\Http\HttpTransportWp::get()
S
67 3 7
LLAR\Core\Http\HttpTransportWp::post()
S
66 3 7
LLAR\Core\LimitLoginAttempts::login_page_gdpr_message()
S
66 3 8
LLAR\Core\Http\HttpTransportCurl::get()
S
65 3 8
LLAR\Core\LimitLoginAttempts::setting_menu_alert_icon()
S
69 3 6
LLAR\Core\Helpers::show_message()
S
67 3 7
LLAR\Core\LimitLoginAttempts::cloud_app_init()
S
72 3 5
LLAR\Core\LimitLoginAttempts::load_admin_scripts()
S
65 3 8
LLAR\Core\LimitLoginAttempts::register_user_blacklist()
S
68 3 7
LLAR\Core\LimitLoginAttempts::xmlrpc_error_messages()
S
65 3 9
LLAR\Core\Helpers::check_ip_cidr()
S
68 3 7
LLAR\Core\Http\HttpTransportWp::format_headers()
S
63 3 10
LLAR\Core\Http\HttpTransportWp::prepare_response()
S
60 2 14
LLAR\Core\Ajax::register()
S
50 1 29
LLAR\Core\LimitLoginAttempts::register_dashboard_widgets()
S
62 2 12
LLAR\Core\CloudApp::__construct()
S
66 2 8
LLAR\Core\Config::get_default_options()
S
79 2 3
LLAR\Core\LimitLoginAttempts::track_credentials()
S
75 2 4
LLAR\Core\LimitLoginAttempts::is_username_whitelisted()
S
68 2 7
LLAR\Core\Ajax::dismiss_onboarding_popup_callback()
S
67 2 8
LLAR\Core\Config::add()
S
73 2 4
LLAR\Core\Config::is_autoload()
S
77 2 3
LLAR\Core\LimitLoginAttempts::network_setting_menu_alert_icon()
S
70 2 6
LLAR\Core\Helpers::get_countries_list()
S
68 2 7
LLAR\Core\Helpers::is_writable()
S
78 2 3
LLAR\Core\LimitLoginAttempts::array_name_plans()
S
69 2 7
LLAR\Core\Ajax::strong_account_policies_callback()
S
64 2 9
LLAR\Core\LimitLoginAttempts::is_ip_whitelisted()
S
68 2 7
LLAR\Core\Http\Http::post()
S
67 2 7
LLAR\Core\Helpers::short_number()
S
66 2 7
LLAR\Core\CloudApp::add_error()
S
71 2 6
LLAR\Core\CloudApp::stats()
S
71 2 6
LLAR\Core\LimitLoginAttempts::checkKey()
S
78 2 3
LLAR\Core\Helpers::allow_local_options()
S
74 2 4
LLAR\Core\LimitLoginAttempts::info()
S
71 2 6
LLAR\Core\Helpers::is_network_mode()
S
72 2 5
LLAR\Core\Helpers::is_auto_update_enabled()
S
74 2 4
LLAR\Core\Config::update()
S
74 2 4
LLAR\Core\LimitLoginAttempts::is_ip_blacklisted()
S
68 2 7
LLAR\Core\Config::format_option_name()
S
71 2 6
LLAR\Core\Helpers::add_attachments_to_php_mailer()
S
70 2 6
LLAR\Core\LimitLoginAttempts::activation()
S
72 2 5
LLAR\Core\Config::delete()
S
74 2 4
LLAR\Core\LimitLoginAttempts::ultimate_member_register_error_codes()
S
68 2 8
LLAR\Core\CloudApp::stats_global()
S
67 2 7
LLAR\Core\LimitLoginAttempts::check_original_installed()
S
68 2 7
LLAR\Core\LimitLoginAttempts::is_username_blacklisted()
S
68 2 7
LLAR\Core\LimitLoginAttempts::plan_name_match()
S
70 2 6
LLAR\Core\Config::use_local_options()
S
80 1 3
LLAR\Core\Helpers::get_wordpress_version()
S
77 1 4
LLAR\Core\LimitLoginAttempts::check_whitelist_ips()
S
78 1 3
LLAR\Core\LimitLoginAttempts::check_blacklist_ips()
S
78 1 3
LLAR\Core\CloudApp::get_config()
S
82 1 3
LLAR\Core\CloudApp::lockout_check()
S
75 1 4
LLAR\Core\CloudApp::acl_delete()
S
79 1 3
LLAR\Core\CloudApp::country_rule()
S
79 1 3
LLAR\Core\CloudApp::acl_create()
S
79 1 3
LLAR\Core\LimitLoginAttempts::get_address()
S
80 1 3
LLAR\Core\CloudApp::acl()
S
79 1 3
LLAR\Core\LimitLoginAttempts::check_whitelist_usernames()
S
78 1 3
LLAR\Core\LimitLoginAttempts::getHash()
S
80 1 3
LLAR\Core\LimitLoginAttempts::check_blacklist_usernames()
S
78 1 3
LLAR\Core\CloudApp::get_id()
S
82 1 3
LLAR\Core\Shortcodes::register()
S
79 1 3
LLAR\Core\LimitLoginAttempts::show_message()
S
80 1 3
LLAR\Core\CloudApp::country()
S
79 1 3
LLAR\Core\CloudApp::get_errors()
S
82 1 3
LLAR\Core\Config::init()
S
76 1 4
LLAR\Core\LimitLoginAttempts::get_svg_logo_content()
S
79 1 3
LLAR\Core\LimitLoginAttempts::__construct()
S
67 1 9
LLAR\Core\CloudApp::info()
S
80 1 3
LLAR\Core\CloudApp::log()
S
68 1 7
LLAR\Core\CloudApp::country_add()
S
79 1 3
LLAR\Core\Ajax::close_premium_message()
S
72 1 5
LLAR\Core\LimitLoginAttempts::failure_shake()
S
74 1 5
LLAR\Core\CloudApp::acl_check()
S
75 1 4
LLAR\Core\Helpers::wp_locale()
S
78 1 3
LLAR\Core\Helpers::is_mu()
S
78 1 3
LLAR\Core\LimitLoginAttempts::fixup_error_messages_wc()
S
79 1 3
LLAR\Core\Shortcodes::llar_link_callback()
S
67 1 7
LLAR\Core\CloudApp::country_remove()
S
79 1 3
LLAR\Core\Config::init_defaults()
S
77 1 3
LLAR\Core\CloudApp::get_lockouts()
S
70 1 6
LLAR\Core\LimitLoginAttempts::network_admin_menu()
S
77 1 3
LLAR\Core\LimitLoginAttempts::dashboard_widgets_content()
S
80 1 3
LLAR\Core\Http\Http::get()
S
78 1 3
LLAR\Core\LimitLoginAttempts::login_page_enqueue()
S
71 1 5
LLAR\Core\Helpers::send_mail_with_logo()
S
71 1 5
LLAR\Core\Helpers::deslash()
S
69 1 6