ADVAIPBL_Main D

Total Complexity 993
Dependencies 31
Dependents 22
Total lines 6,764
Lines of code 5,026
Logical lines of code 2,494
Comment lines 1,009
Methods 142
Properties 29

Methods 142

Method Rating Maintainability Complexity Lines of code
run_all_block_checks()
D
25
49 138
send_block_notification()
D
26
40 117
load_admin_scripts()
C
26
26 146
log_specific_error()
C
34 25 74
execute_shutdown_block()
C
30 22 111
handle_error()
C
32 23 92
handle_import_settings()
B
36 22 71
get_xmlrpc_dependent_plugins()
B
37 21 68
check_for_endpoint_lockdown()
B
39 21 56
check_for_geo_challenge()
B
44 19 40
get_ip_intelligence()
B
38 17 68
add_hooks()
B
31 14 108
block_ip_instantly()
B
39 17 54
log_settings_change()
B
32 14 97
log_request_signature()
A
35 13 87
detect_http_error_status()
A
44 16 39
get_live_attacks_for_feed()
A
38 14 67
resync_block_transients()
A
47 16 30
get_country_list()
A
22
1 249
schedule_cron_jobs()
A
47 15 35
migrate_blocked_ips_to_table()
A
43 14 47
send_telemetry_data()
A
33 10 98
handle_login_action()
A
43 13 44
increment_login_lockdown_counter()
A
40 12 56
log_wp_cron_execution()
A
41 12 51
access_denied_page()
A
41 11 58
on_settings_update()
A
46 12 38
verify_js_challenge()
A
43 11 43
add_admin_ip_to_whitelist_on_first_run()
A
49 12 27
handle_export_settings_ajax()
A
44 11 38
validate_recaptcha_response()
A
46 11 36
is_source_trusted()
A
47 11 35
__construct()
A
40 9 56
parse_user_agent()
A
43 9 48
desbloquear_ip()
A
47 10 33
serve_js_challenge()
A
33 4 118
display_2fa_section_in_profile()
A
38 6 87
process_and_send_summary()
A
40 8 56
handle_send_test_email()
A
39 7 68
check_for_malicious_signature()
A
47 9 36
send_2fa_notification_email()
A
43 8 48
update_spamhaus_list()
A
48 9 30
check_ip_with_abuseipdb()
A
50 9 28
verify_known_bots()
A
51 9 26
intercept_login_step_1()
A
50 9 26
add_to_whitelist_and_unblock()
A
46 8 39
activate_plugin()
A
47 8 34
display_force_2fa_setup_notice()
A
48 8 33
is_ip_in_range()
A
51 8 24
add_cron_intervals()
A
47 7 39
migrate_whitelist_format()
A
53 8 21
execute_webhook_send()
A
47 7 36
increment_lockdown_counter()
A
43 6 46
is_valid_ip_or_range()
S
57 8 15
prevent_login_hinting()
S
51 7 27
get_all_block_type_definitions()
S
35 1 114
display_2fa_login_form_step_2()
S
43 5 51
display_2fa_backup_code_form()
S
43 5 51
setup_database_tables()
S
37 1 110
is_whitelisted()
S
56 7 18
is_ip_actively_blocked()
S
56 7 17
auto_whitelist_admin_on_login()
S
56 7 16
limpiar_ips_expiradas()
S
49 6 29
handle_threat_event()
S
49 6 27
display_telemetry_notice()
S
53 6 24
is_visitor_asn_whitelisted()
S
54 6 23
send_lockdown_notification()
S
46 5 35
execute_threat_score_decay()
S
55 6 19
get_default_settings()
S
35 1 90
get_server_ip()
S
58 6 14
handle_send_test_push()
S
49 5 29
execute_geoip_db_update()
S
58 6 14
admin_menu()
S
42 2 70
block_xmlrpc_requests_if_disabled()
S
54 5 21
display_setup_wizard_notice()
S
54 5 21
send_signature_flagged_notification()
S
46 4 35
add_admin_bar_menu()
S
42 3 47
initialize_backend_managers()
S
57 5 15
verify_js_challenge_submission()
S
58 5 14
is_request_uri_excluded()
S
58 5 14
disable_rest_api_user_endpoints()
S
63 5 11
print_sortable_header()
S
60 5 11
get_all_blocked_entries()
S
51 4 26
maybe_redirect_to_wizard()
S
62 5 11
is_visitor_actively_blocked()
S
53 4 24
update_option_autoload_states()
S
49 3 38
get_from_custom_cache()
S
54 4 22
cleanup_legacy_options()
S
49 3 34
handle_clear_cache_action()
S
56 4 15
prevent_author_enumeration_redirect()
S
65 5 8
conditionally_remove_admin_notices()
S
59 4 14
print_log_sortable_header()
S
60 4 11
print_modal_html_in_footer()
S
49 1 54
enqueue_recaptcha_script()
S
57 3 18
log_event()
S
56 3 18
get_blocked_count()
S
58 3 15
get_html_email_template()
S
45 1 45
check_database_update()
S
59 3 15
get_formatted_datetime()
S
82 4 1
prevent_user_enumeration_via_feeds()
S
65 4 9
handle_login_page_restriction()
S
60 3 13
display_admin_notice()
S
60 3 13
cleanup_expired_cache_entries()
S
60 3 12
display_recaptcha_field()
S
55 2 23
render_live_feed_shortcode()
S
48 1 37
handle_spamhaus_refresh_action()
S
63 3 9
get_current_admin_username()
S
74 3 4
schedule_notification_cron()
S
65 3 8
get_first_public_ip_from_string()
S
64 3 9
render_per_page_selector()
S
59 2 15
sanitize_score_threshold()
S
70 3 6
get_remote_addr()
S
67 3 7
execute_signature_analysis()
S
60 2 13
get_blocked_endpoints_count()
S
61 2 11
unblock_all_ips()
S
55 1 20
get_block_message()
S
55 1 18
register_live_feed_api_endpoint()
S
57 1 17
set_in_custom_cache()
S
59 1 16
get_default_waf_rules()
S
60 1 16
get_instance()
S
71 2 6
on_waf_rules_update()
S
65 2 9
get_blocked_signatures_count()
S
62 2 10
purge_old_logs()
S
64 2 8
get_client_ip()
S
67 2 8
prevent_user_enumeration_via_oembed()
S
68 2 7
save_2fa_section_in_profile()
S
73 2 5
get_current_request_uri()
S
68 2 7
get_user_agent()
S
68 2 7
get_request_method()
S
68 2 7
get_http_referer()
S
68 2 7
add_2fa_hooks()
S
59 1 13
get_default_honeypot_urls()
S
65 1 11
deactivate_plugin()
S
63 1 11
get_live_feed_nonce()
S
73 1 5
set_html_mail_content_type()
S
82 1 3
is_internal_request()
S
89 1 1
registrar_intento_login_fallido()
S
78 1 3
clear_notification_cron()
S
92 1 1
get_default_user_agents()
S
63 1 10
remove_all_other_admin_notices()
S
77 1 4
settings_page_content()
S
82 1 3
clear_blocked_ips_cache()
S
80 1 3