Code Analysis: Limit Login Attempts Reloaded 2.25.17

Function Rating Maintainability Complexity Lines of code
LLAR\Core\LimitLoginAttempts::options_page()
D
26
46 122
LLAR\Core\LimitLoginAttempts::limit_login_failed()
C
33 25 95
LLAR\Core\LimitLoginAttempts::cleanup()
B
42 23 48
LLAR\Core\LimitLoginAttempts::authenticate_filter()
B
37 21 66
LLAR\Core\Ajax::app_load_log_callback()
B
37 17 69
LLAR\Core\LimitLoginAttempts::show_enable_notify_notice()
A
37 11 94
LLAR\Core\LimitLoginAttempts::login_page_render_js()
A
49 13 30
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 74
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
53 11 20
LLAR\Core\LimitLoginAttempts::wp_authenticate_user()
A
51 10 26
LLAR\Core\LimitLoginAttempts::show_leave_review_notice()
A
41 7 69
LLAR\Core\Ajax::subscribe_email_callback()
A
47 9 35
LLAR\Core\LimitLoginAttempts::fixup_error_messages()
A
52 9 23
LLAR\Core\LimitLoginAttempts::setup()
A
47 8 33
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\Helpers::cloud_app_update_config()
A
56 8 17
LLAR\Core\Ajax::app_setup_callback()
A
49 7 31
LLAR\Core\Ajax::app_load_acl_rules_callback()
S
45 6 45
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\Helpers::get_all_ips()
S
59 6 13
LLAR\Core\LimitLoginAttempts::authenticate_filter_errors_fix()
S
60 6 13
LLAR\Core\CloudApp::setup()
S
50 5 27
LLAR\Core\Ajax::app_country_rule_callback()
S
54 5 22
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
60 5 14
LLAR\Lib\CidrCheck::match()
S
60 5 12
LLAR\Core\CloudApp::prepare_settings()
S
61 5 12
LLAR\Core\Http\Http::init()
S
62 5 11
LLAR\Core\Ajax::ajax_unlock()
S
53 4 23
LLAR\Core\Http\HttpTransportCurl::request()
S
55 4 19
LLAR\Core\Ajax::toggle_auto_update_callback()
S
57 4 16
LLAR\Core\CloudApp::request()
S
58 4 14
LLAR\Core\LimitLoginAttempts::notify()
S
61 4 13
LLAR\Core\Helpers::detect_gateway()
S
64 4 9
LLAR\Core\Ajax::get_remaining_attempts_message_callback()
S
63 4 9
LLAR\Core\LimitLoginAttempts::setup_cookie()
S
67 4 7
LLAR\Core\LimitLoginAttempts::dashboard_page_redirect()
S
65 4 8
LLAR\Core\Config::get()
S
65 4 8
LLAR\Core\LimitLoginAttempts::is_limit_login_ok()
S
65 4 8
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::hooks_init()
S
52 2 23
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\LimitLoginAttempts::cloud_app_init()
S
72 3 5
LLAR\Core\LimitLoginAttempts::load_admin_scripts()
S
68 3 6
LLAR\Core\LimitLoginAttempts::register_user_blacklist()
S
68 3 7
LLAR\Core\LimitLoginAttempts::xmlrpc_error_messages()
S
65 3 9
LLAR\Core\LimitLoginAttempts::enqueue()
S
64 3 8
LLAR\Core\Helpers::show_message()
S
67 3 7
LLAR\Core\LimitLoginAttempts::setting_menu_alert_icon()
S
69 3 6
LLAR\Core\LimitLoginAttempts::get_options_page_uri()
S
63 3 10
LLAR\Core\Helpers::check_ip_cidr()
S
68 3 7
LLAR\Core\Http\HttpTransportCurl::get()
S
65 3 8
LLAR\Core\Helpers::use_local_options()
S
71 3 5
LLAR\Core\Http\HttpTransportWp::format_headers()
S
63 3 10
LLAR\Core\Http\HttpTransportFopen::post()
S
70 3 5
LLAR\Core\Helpers::is_ip_valid()
S
70 3 5
LLAR\Core\Http\HttpTransportWp::prepare_response()
S
60 2 14
LLAR\Core\LimitLoginAttempts::admin_menu()
S
61 2 13
LLAR\Core\LimitLoginAttempts::register_dashboard_widgets()
S
62 2 12
LLAR\Core\LimitLoginAttempts::add_action_links()
S
61 2 12
LLAR\Core\Ajax::register()
S
52 1 24
LLAR\Core\LimitLoginAttempts::ultimate_member_register_error_codes()
S
70 2 6
LLAR\Core\Helpers::is_network_mode()
S
72 2 5
LLAR\Core\Helpers::get_countries_list()
S
68 2 7
LLAR\Core\LimitLoginAttempts::activation()
S
72 2 5
LLAR\Core\Config::add()
S
73 2 4
LLAR\Core\LimitLoginAttempts::is_ip_blacklisted()
S
68 2 7
LLAR\Core\LimitLoginAttempts::network_setting_menu_alert_icon()
S
70 2 6
LLAR\Core\Helpers::add_attachments_to_php_mailer()
S
70 2 6
LLAR\Core\LimitLoginAttempts::is_username_blacklisted()
S
68 2 7
LLAR\Core\CloudApp::add_error()
S
75 2 4
LLAR\Core\Config::format_option_name()
S
71 2 6
LLAR\Core\LimitLoginAttempts::is_username_whitelisted()
S
68 2 7
LLAR\Core\Helpers::short_number()
S
66 2 7
LLAR\Core\Ajax::dismiss_onboarding_popup_callback()
S
67 2 8
LLAR\Core\Helpers::is_auto_update_enabled()
S
74 2 4
LLAR\Core\LimitLoginAttempts::track_credentials()
S
75 2 4
LLAR\Core\Config::delete()
S
74 2 4
LLAR\Core\Helpers::is_writable()
S
78 2 3
LLAR\Core\Http\Http::post()
S
67 2 7
LLAR\Core\CloudApp::acl_check()
S
70 2 5
LLAR\Core\CloudApp::__construct()
S
66 2 8
LLAR\Core\LimitLoginAttempts::is_ip_whitelisted()
S
68 2 7
LLAR\Core\Config::get_default_options()
S
79 2 3
LLAR\Core\Helpers::allow_local_options()
S
74 2 4
LLAR\Core\LimitLoginAttempts::check_original_installed()
S
67 2 8
LLAR\Core\Config::update()
S
74 2 4
LLAR\Core\CloudApp::stats_global()
S
71 2 5
LLAR\Core\LimitLoginAttempts::checkKey()
S
78 2 3
LLAR\Core\Shortcodes::register()
S
79 1 3
LLAR\Core\LimitLoginAttempts::show_message()
S
80 1 3
LLAR\Core\CloudApp::acl_create()
S
79 1 3
LLAR\Core\Helpers::get_wordpress_version()
S
77 1 4
LLAR\Core\LimitLoginAttempts::check_whitelist_usernames()
S
78 1 3
LLAR\Core\CloudApp::acl()
S
79 1 3
LLAR\Core\LimitLoginAttempts::check_whitelist_ips()
S
78 1 3
LLAR\Core\CloudApp::country_rule()
S
79 1 3
LLAR\Core\CloudApp::get_config()
S
82 1 3
LLAR\Core\LimitLoginAttempts::network_admin_menu()
S
77 1 3
LLAR\Core\Config::init_defaults()
S
77 1 3
LLAR\Core\CloudApp::country_remove()
S
79 1 3
LLAR\Core\CloudApp::get_errors()
S
82 1 3
LLAR\Core\CloudApp::get_id()
S
82 1 3
LLAR\Core\CloudApp::stats()
S
79 1 3
LLAR\Core\LimitLoginAttempts::failure_shake()
S
74 1 5
LLAR\Core\LimitLoginAttempts::check_blacklist_ips()
S
78 1 3
LLAR\Core\CloudApp::acl_delete()
S
79 1 3
LLAR\Core\LimitLoginAttempts::__construct()
S
69 1 8
LLAR\Core\CloudApp::lockout_check()
S
75 1 4
LLAR\Core\Config::use_local_options()
S
80 1 3
LLAR\Core\LimitLoginAttempts::check_blacklist_usernames()
S
78 1 3
LLAR\Core\LimitLoginAttempts::get_address()
S
80 1 3
LLAR\Core\Config::init()
S
76 1 4
LLAR\Core\CloudApp::country_add()
S
79 1 3
LLAR\Core\Helpers::send_mail_with_logo()
S
71 1 5
LLAR\Core\CloudApp::country()
S
79 1 3
LLAR\Core\LimitLoginAttempts::dashboard_widgets_content()
S
80 1 3
LLAR\Core\Helpers::deslash()
S
69 1 6
LLAR\Core\LimitLoginAttempts::fixup_error_messages_wc()
S
79 1 3
LLAR\Core\Http\Http::get()
S
78 1 3
LLAR\Core\Shortcodes::llar_link_callback()
S
67 1 7
LLAR\Core\LimitLoginAttempts::get_svg_logo_content()
S
79 1 3
LLAR\Core\LimitLoginAttempts::getHash()
S
80 1 3
LLAR\Core\CloudApp::get_lockouts()
S
70 1 6
LLAR\Core\CloudApp::log()
S
68 1 7
LLAR\Core\Helpers::is_mu()
S
78 1 3
LLAR\Core\LimitLoginAttempts::login_page_enqueue()
S
71 1 5