ADVAIPBL_Main D

Total Complexity 813
Dependencies 14
Dependents 8
Total lines 5,596
Lines of code 4,478
Logical lines of code 2,338
Comment lines 576
Methods 118
Properties 15

Methods 118

Method Rating Maintainability Complexity Lines of code
display_log_table_generic()
D
24
37 164
handle_admin_actions()
D
26
37 130
run_all_block_checks()
D
31 38 91
settings_page_content()
D
26
30 165
display_status_tab()
D
23
22 227
display_blocked_ips_tab()
C
27
26 135
sanitize_settings()
C
37 27 59
send_block_notification()
C
32 22 94
get_xmlrpc_dependent_plugins()
B
37 21 68
get_ip_intelligence()
B
35 18 88
display_whitelist_tab()
B
34 18 85
display_general_log_tab()
B
34 18 82
execute_shutdown_block()
B
33 17 84
detect_http_error_status()
B
42 19 43
limpiar_ips_expiradas()
B
41 17 48
log_settings_change()
B
33 14 90
log_specific_error()
B
38 15 65
block_ip_instantly()
A
41 15 47
get_country_list()
A
22
1 249
handle_import_settings()
A
40 12 58
load_admin_scripts()
A
47 14 21
get_all_blocked_ips_for_cli()
A
41 10 57
add_admin_ip_to_whitelist_on_first_run()
A
50 12 26
resync_block_transients()
A
49 12 26
validate_recaptcha_response()
A
46 11 36
add_hooks()
A
41 10 50
desbloquear_ip()
A
46 11 34
handle_error()
A
44 10 39
parse_user_agent()
A
43 9 48
process_and_send_summary()
A
40 8 56
handle_send_test_email()
A
39 7 68
get_all_blocked_entries()
A
46 9 34
handle_export_settings_ajax()
A
48 9 32
update_spamhaus_list()
A
48 9 30
migrate_old_logs()
A
49 9 27
display_credits_tab()
A
33 1 139
text_field_callback()
A
47 8 34
add_to_whitelist_and_unblock()
A
48 8 33
is_ip_in_range()
A
51 8 24
display_asn_blocking_tab()
A
40 5 67
migrate_whitelist_format()
A
53 8 21
display_general_settings_tab()
A
36 1 122
is_valid_ip_or_range()
S
57 8 15
display_waf_tab()
S
36 2 104
on_settings_update()
S
53 7 23
ajax_verify_api_key()
S
53 7 20
is_whitelisted()
S
56 7 18
log_wp_cron_execution()
S
48 6 30
activate_plugin()
S
49 6 29
add_admin_bar_menu()
S
40 4 58
ajax_test_outbound_connection()
S
54 6 19
access_denied_page()
S
55 6 18
ajax_add_ip_to_whitelist()
S
55 6 17
get_server_ip()
S
58 6 14
display_user_agents_tab()
S
39 2 66
admin_menu()
S
43 2 62
disable_rest_api_user_endpoints()
S
63 5 11
print_sortable_header()
S
60 5 11
register_settings()
S
35 1 71
get_default_settings()
S
41 1 64
display_honeypot_tab()
S
43 2 47
prevent_author_enumeration_redirect()
S
65 5 8
schedule_cron_jobs()
S
64 5 9
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
get_html_email_template()
S
45 1 45
get_formatted_datetime()
S
82 4 1
handle_login_page_restriction()
S
60 3 13
display_admin_notice()
S
61 3 12
ajax_get_dashboard_stats()
S
63 3 11
conditionally_remove_admin_notices()
S
62 3 11
display_recaptcha_field()
S
55 2 23
xmlrpc_protection_mode_callback()
S
54 2 22
notification_frequency_callback()
S
54 2 20
geolocation_provider_callback()
S
55 2 20
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
render_per_page_selector()
S
59 2 15
sanitize_score_threshold()
S
70 3 6
email_field_callback()
S
59 2 15
checkbox_field_callback()
S
59 2 13
get_block_message()
S
57 1 16
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
get_all_block_type_definitions()
S
57 1 15
__construct()
S
59 1 14
send_test_email_button_callback()
S
61 1 14
clear_cache_button_callback()
S
63 1 12
display_cron_logs_tab()
S
71 1 6
set_html_mail_content_type()
S
82 1 3
is_internal_request()
S
89 1 1
setup_database_tables()
S
84 1 1
registrar_intento_login_fallido()
S
78 1 3
add_cron_intervals()
S
87 1 1
clear_notification_cron()
S
92 1 1
deactivate_plugin()
S
71 1 6
remove_all_other_admin_notices()
S
77 1 4
display_security_log_tab()
S
66 1 8
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
textarea_field_callback()
S
65 1 9
timezone_select_callback()
S
85 1 1