ADVAIPBL_Main D

Total Complexity 1,221
Dependencies 24
Dependents 12
Total lines 8,662
Lines of code 6,937
Logical lines of code 3,524
Comment lines 903
Methods 167
Properties 19

Methods 167

Method Rating Maintainability Complexity Lines of code
handle_admin_actions()
D
19
59 180
display_log_table_generic()
D
20
48 185
run_all_block_checks()
D
25
52 122
settings_page_content()
D
27
33 137
sanitize_settings()
D
32 33 84
send_block_notification()
D
30 31 92
display_status_tab()
D
23
22 227
display_blocked_ips_tab()
C
27
26 142
display_whitelist_tab()
C
31 23 109
display_ip_trust_log_tab()
C
28
20 143
handle_error()
B
33 22 90
get_xmlrpc_dependent_plugins()
B
37 21 68
get_ip_intelligence()
B
35 18 88
limpiar_ips_expiradas()
B
39 20 56
display_general_log_tab()
B
34 18 85
load_admin_scripts()
B
29 15 123
log_specific_error()
B
37 19 61
detect_http_error_status()
B
41 20 45
execute_shutdown_block()
B
33 17 84
desbloquear_ip()
B
40 18 56
log_settings_change()
B
33 14 93
display_cron_logs_tab()
B
34 14 87
display_blocked_signatures_tab()
A
32 11 110
get_country_list()
A
22
1 249
log_request_signature()
A
38 13 68
send_telemetry_data()
A
34 10 90
handle_import_settings()
A
40 12 59
handle_login_action()
A
43 13 44
on_settings_update()
A
45 13 41
block_ip_instantly()
A
44 13 38
add_hooks()
A
35 10 80
display_general_settings_tab()
A
30 2 195
register_settings()
A
24
1 194
text_field_callback()
A
43 11 44
get_all_blocked_ips_for_cli()
A
41 10 58
add_admin_ip_to_whitelist_on_first_run()
A
49 12 27
resync_block_transients()
A
49 12 26
validate_recaptcha_response()
A
46 11 36
access_denied_page()
A
43 10 51
display_asn_blocking_tab()
A
36 7 91
prevent_login_hinting_errors()
A
49 11 28
handle_export_settings_ajax()
A
45 10 39
parse_user_agent()
A
43 9 48
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
schedule_cron_jobs()
A
53 10 22
send_2fa_notification_email()
A
43 8 48
update_spamhaus_list()
A
48 9 30
get_live_attacks_for_feed()
A
44 8 43
display_credits_tab()
A
32 1 148
migrate_old_logs()
A
49 9 27
intercept_login_step_1()
A
50 9 26
display_user_agents_tab()
A
32 2 131
add_to_whitelist_and_unblock()
A
46 8 39
get_all_blocked_entries()
A
52 9 22
display_force_2fa_setup_notice()
A
48 8 33
is_ip_in_range()
A
51 8 24
migrate_whitelist_format()
A
53 8 21
execute_webhook_send()
A
47 7 36
handle_threat_event()
A
47 7 32
__construct()
A
48 7 31
ajax_whitelist_signature()
A
47 7 31
display_waf_tab()
S
35 2 105
is_valid_ip_or_range()
S
57 8 15
ajax_2fa_activate()
S
56 8 15
prevent_login_hinting()
S
51 7 27
display_2fa_login_form_step_2()
S
43 5 51
display_2fa_backup_code_form()
S
43 5 51
ajax_verify_api_key()
S
53 7 20
is_whitelisted()
S
56 7 18
check_for_malicious_signature()
S
49 6 31
auto_whitelist_admin_on_login()
S
56 7 16
log_wp_cron_execution()
S
48 6 30
add_admin_bar_menu()
S
40 4 59
activate_plugin()
S
49 6 29
display_telemetry_notice()
S
53 6 24
ajax_handle_telemetry_notice()
S
52 6 23
display_2fa_management_tab()
S
44 4 50
execute_threat_score_decay()
S
55 6 19
ajax_test_outbound_connection()
S
54 6 19
ajax_add_ip_to_whitelist()
S
55 6 17
get_server_ip()
S
58 6 14
handle_send_test_push()
S
49 5 29
send_signature_flagged_notification()
S
46 4 35
ajax_reset_threat_score()
S
55 5 18
admin_menu()
S
43 2 62
ajax_delete_signature()
S
55 5 17
ajax_get_signature_details()
S
56 5 16
ajax_get_score_history()
S
56 5 16
ajax_2fa_generate()
S
59 5 13
setup_database_tables()
S
42 1 73
disable_rest_api_user_endpoints()
S
63 5 11
print_sortable_header()
S
60 5 11
get_default_settings()
S
39 1 67
add_cron_intervals()
S
55 4 21
display_honeypot_tab()
S
43 2 47
prevent_author_enumeration_redirect()
S
65 5 8
display_dashboard_tab()
S
47 1 60
handle_clear_cache_action()
S
58 4 13
print_log_sortable_header()
S
60 4 11
render_import_export_controls_callback()
S
46 1 55
enqueue_recaptcha_script()
S
57 3 18
log_event()
S
56 3 18
textarea_field_callback()
S
56 3 17
verify_js_challenge()
S
56 3 15
get_html_email_template()
S
45 1 45
get_formatted_datetime()
S
82 4 1
checkbox_field_callback()
S
57 3 15
ajax_2fa_deactivate()
S
63 4 9
prevent_user_enumeration_via_feeds()
S
65 4 9
handle_login_page_restriction()
S
60 3 13
display_admin_notice()
S
60 3 13
ajax_get_dashboard_stats()
S
61 3 12
threat_scores_callback()
S
51 2 27
print_modal_html_in_footer()
S
52 1 40
display_recaptcha_field()
S
55 2 23
render_live_feed_shortcode()
S
48 1 37
xmlrpc_protection_mode_callback()
S
54 2 22
tfa_force_roles_callback()
S
55 2 22
notification_frequency_callback()
S
54 2 20
geolocation_provider_callback()
S
55 2 20
serve_js_challenge()
S
56 2 17
geoblock_countries_callback()
S
58 2 16
handle_spamhaus_refresh_action()
S
63 3 9
get_current_admin_username()
S
74 3 4
restrict_login_page_callback()
S
57 2 15
check_database_update()
S
66 3 9
schedule_notification_cron()
S
65 3 8
unblock_all_ips()
S
58 2 15
conditionally_remove_admin_notices()
S
67 3 7
render_per_page_selector()
S
59 2 15
sanitize_score_threshold()
S
70 3 6
email_field_callback()
S
59 2 15
execute_signature_analysis()
S
60 2 13
get_all_block_type_definitions()
S
54 1 18
register_live_feed_api_endpoint()
S
57 1 17
get_block_message()
S
56 1 17
get_instance()
S
71 2 6
on_waf_rules_update()
S
65 2 9
get_blocked_count()
S
66 2 9
purge_old_logs()
S
64 2 8
get_client_ip()
S
67 2 8
get_all_block_type_labels()
S
67 2 8
prevent_user_enumeration_via_oembed()
S
68 2 7
save_2fa_section_in_profile()
S
73 2 5
send_test_email_button_callback()
S
61 1 14
send_test_push_button_callback()
S
61 1 14
add_2fa_hooks()
S
59 1 13
clear_cache_button_callback()
S
63 1 12
get_live_feed_nonce()
S
73 1 5
enqueue_live_feed_assets()
S
91 1 2
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
deactivate_plugin()
S
66 1 9
remove_all_other_admin_notices()
S
77 1 4
display_security_log_tab()
S
64 1 10
recaptcha_enable_callback()
S
67 1 8
recaptcha_version_callback()
S
65 1 9
recaptcha_site_key_callback()
S
71 1 6
recaptcha_secret_key_callback()
S
71 1 6
recaptcha_score_callback()
S
66 1 9
geoblocking_section_callback()
S
73 1 4
timezone_select_callback()
S
85 1 1
threat_scoring_section_callback()
S
91 1 2