Code Analysis: Fail2WP 1.1.1

Function Rating Maintainability Complexity Lines of code
fail2wp\Fail2WP::__construct()
D
13
76 279
fail2wp\Fail2WP::fail2wp_admin_page()
D
16
54 261
fail2wp\Fail2WP::fail2wp_rest_pre_dispatch()
D
30 37 116
fail2wp\Fail2WP::fail2wp_admin_check_new_user()
B
38 22 65
fail2wp\Fail2WP::fail2wp_make_alert_message()
B
36 19 78
fail2wp\Fail2WP::fail2wp_login_errors()
B
41 20 52
fail2wp\Fail2WP::fail2wp_do_cloudflare_lookup()
A
51 15 26
fail2wp\Fail2WP::fail2wp_alert_send()
A
45 12 43
fail2wp\Fail2WP::fail2wp_alert_failed_login()
A
49 11 27
fail2wp\Fail2WP::fail2wp_setting_sanitize_textarea_setting()
A
52 9 24
CIDRmatch\CIDRmatch::match()
A
52 8 25
fail2wp\Fail2WP::fail2wp_roles_merge()
A
54 8 19
fail2wp\Fail2WP::fail2wp_get_wp_roles()
A
48 7 33
fail2wp\Fail2WP::fail2wp_auth_check()
A
57 8 16
fail2wp\Fail2WP::fail2wp_settings()
S
36 4 75
fail2wp\Fail2WP::fail2wp_setting_sanitize_roles()
S
57 7 16
fail2wp\Fail2WP::fail2wp_setting_sanitize_block_ns()
S
58 7 15
fail2wp\Fail2WP::fail2wp_setting_sanitize_block_routes()
S
59 7 14
fail2wp\Fail2WP::fail2wp_admin_alert_new_users_admin()
S
53 6 21
fail2wp\Fail2WP::fail2wp_admin_alert_new_users_mismatch()
S
53 6 21
fail2wp\Fail2WP::fail2wp_admin_alert_new_users_null()
S
53 6 21
fail2wp\Fail2WP::fail2wp_rest_init()
S
55 6 19
fail2wp\Fail2WP::fail2wp_rest_filter_authenticate()
S
56 6 18
fail2wp\Fail2WP::fail2wp_get_site_label()
S
57 6 17
fail2wp\Fail2WP::fail2wp_setting_sanitize_username_length()
S
61 6 12
CIDRmatch\CIDRmatch::IPv6MaskToByteArray()
S
56 5 19
fail2wp\Fail2WP::fail2wp_alert_login()
S
56 5 18
fail2wp\Fail2WP::fail2wp_settings_restapi_callback()
S
56 5 18
fail2wp\Fail2WP::fail2wp_setting_rest_filter_block_ns()
S
57 5 16
fail2wp\SysLog::log_message()
S
57 5 16
CIDRmatch\CIDRmatch::IPv4Match()
S
61 6 10
CIDRmatch\CIDRmatch::IPv6Match()
S
63 6 9
fail2wp\Fail2WP::fail2wp_get_message_user_display()
S
59 5 14
fail2wp\Fail2WP::fail2wp_parse_request()
S
61 5 13
fail2wp\SysLog::log_open()
S
60 5 13
fail2wp\Fail2WP::fail2wp_admin_alert_new_user_role_forced_email()
S
51 4 27
fail2wp_misc_delete_all_settings()
S
47 3 40
fail2wp\Fail2WP::fail2wp_setting_reguser_warn_role()
S
54 4 22
fail2wp\Fail2WP::fail2wp_setting_reguser_force_role()
S
54 4 22
fail2wp\Fail2WP::fail2wp_settings_cloudflare_callback()
S
58 4 16
fail2wp\Fail2WP::fail2wp_setting_sanitize_advanced()
S
64 5 9
fail2wp\Fail2WP::fail2wp_setting_sanitize_site_label()
S
64 5 9
fail2wp\Fail2WP::fail2wp_get_rest_ns()
S
61 4 12
fail2wp\Fail2WP::fail2wp_menu()
S
63 4 11
fail2wp\Fail2WP::fail2wp_role_is_active()
S
66 4 8
fail2wp\Fail2WP::fail2wp_gettext()
S
59 3 15
fail2wp\Fail2WP::fail2wp_settings_advanced_callback()
S
66 4 8
fail2wp\SysLog::log_close()
S
62 3 12
fail2wp\Fail2WP::fail2wp_setting_site_label()
S
64 3 9
fail2wp\Fail2WP::fail2wp_setting_roles_warn()
S
62 3 10
fail2wp\Fail2WP::fail2wp_setting_roles_notify()
S
62 3 10
fail2wp\Fail2WP::fail2wp_rest_index()
S
65 3 9
fail2wp\Fail2WP::fail2wp_setting_rest_filter_block_routes()
S
64 3 9
fail2wp\Fail2WP::fail2wp_about_page()
S
53 1 24
fail2wp\Fail2WP::getInstance()
S
74 2 4
fail2wp\Fail2WP::resource_mtime()
S
69 2 7
fail2wp\Fail2WP::fail2wp_wp_loaded()
S
64 2 9
fail2wp\Fail2WP::run()
S
63 2 10
fail2wp\Fail2WP::setup_locale()
S
70 2 6
fail2wp\Fail2WP::fail2wp_admin_alert_new_user_role_forced()
S
63 1 12
fail2wp\Fail2WP::fail2wp_settings_link()
S
69 1 6
fail2wp\Fail2WP::fail2wp_settings_reguser_username_ban()
S
70 1 6
fail2wp\Fail2WP::fail2wp_setting_cloudflare_check()
S
66 1 8
fail2wp\Fail2WP::fail2wp_setting_unknown_notify()
S
67 1 7
fail2wp\Fail2WP::fail2wp_settings_prefix()
S
74 1 4
fail2wp\SysLog::__construct()
S
77 1 4
fail2wp\Fail2WP::fail2wp_setting_remove()
S
67 1 7
fail2wp\Fail2WP::fail2wp_setup_css()
S
77 1 3
fail2wp\Fail2WP::fail2wp_setting_also_log_php()
S
67 1 7
fail2wp\Fail2WP::fail2wp_setting_reguser_warn()
S
67 1 7
fail2wp\Fail2WP::fail2wp_settings_reguser_useremail_require()
S
70 1 6
run_fail2wp()
S
76 1 4
fail2wp\Fail2WP::fail2wp_setting_remove_feeds()
S
67 1 7
fail2wp\Fail2WP::fail2wp_setting_remove_generator()
S
67 1 7
fail2wp\Fail2WP::fail2wp_the_generator()
S
81 1 3
fail2wp\Fail2WP::fail2wp_setting_block_username_login()
S
67 1 7
fail2wp\Fail2WP::fail2wp_remove_feeds()
S
76 1 4
fail2wp\Fail2WP::fail2wp_login_text()
S
78 1 3
fail2wp\Fail2WP::fail2wp_setting_rest_filter_log_blocked()
S
67 1 7
fail2wp\Fail2WP::fail2wp_settings_rest_filter_bypass_ipv4()
S
70 1 6
fail2wp\Fail2WP::fail2wp_settings_cloudflare_ipv6()
S
70 1 6
fail2wp\SysLog::__destruct()
S
82 1 3
fail2wp\Fail2WP::fail2wp_setting_rest_filter_require_authenticated()
S
67 1 7
fail2wp\Fail2WP::fail2wp_settings_rest_filter_bypass_ipv6()
S
70 1 6
fail2wp\Fail2WP::fail2wp_settings_reguser_username_length()
S
74 1 4
fail2wp\Fail2WP::fail2wp_setting_block_enums()
S
67 1 7
fail2wp\Fail2WP::fail2wp_setting_rest_filter_block_index()
S
67 1 7
fail2wp\Fail2WP::fail2wp_setting_secure_login_messages()
S
67 1 7
fail2wp\Fail2WP::fail2wp_setting_rest_filter_block_all()
S
67 1 7
fail2wp\Fail2WP::fail2wp_setting_log_enums()
S
67 1 7
fail2wp\Fail2WP::fail2wp_noshow_feeds()
S
81 1 3
fail2wp\Fail2WP::fail2wp_setting_reguser_force()
S
67 1 7
fail2wp\Fail2WP::fail2wp_settings_cloudflare_ipv4()
S
70 1 6