ADVAIPBL_Main D

Total Complexity 512
Dependencies 5
Dependents 3
Total lines 3,679
Lines of code 3,019
Logical lines of code 1,566
Comment lines 346
Methods 85
Properties 8

Methods 85

Method Rating Maintainability Complexity Lines of code
settings_page_content()
C
35 28 84
display_status_tab()
C
25
20 203
handle_admin_actions()
C
31 26 99
display_blocked_ips_tab()
C
29 24 114
run_all_block_checks()
B
39 23 55
display_logs_tab()
B
32 18 102
execute_shutdown_block()
B
32 18 95
get_ip_intelligence()
B
35 18 88
display_whitelist_tab()
B
34 18 85
display_log_table_generic()
B
31 16 114
sanitize_settings()
B
42 19 45
send_block_notification()
B
35 16 74
detect_http_error_status()
A
45 16 34
get_country_list()
A
22
1 249
handle_error()
A
41 14 49
load_admin_scripts()
A
37 11 78
add_admin_ip_to_whitelist_on_first_run()
A
50 12 26
register_settings()
A
28
1 184
limpiar_ips_expiradas()
A
49 10 27
process_and_send_summary()
A
40 8 56
handle_send_test_email()
A
39 7 68
migrate_old_logs()
A
49 9 27
display_credits_tab()
A
34 1 141
text_field_callback()
A
51 8 24
migrate_whitelist_format()
A
53 8 21
block_ip_instantly()
A
48 7 31
log_settings_change()
S
54 7 20
activate_plugin()
S
49 6 30
display_general_settings_tab()
S
40 2 90
get_all_blocked_ips_for_cli()
S
50 6 26
ajax_add_ip_to_whitelist()
S
53 6 20
ajax_test_outbound_connection()
S
54 6 19
get_server_ip()
S
58 6 14
log_specific_error()
S
48 4 32
desbloquear_ip()
S
56 5 16
access_denied_page()
S
60 5 12
disable_rest_api_user_endpoints()
S
63 5 11
print_sortable_header()
S
60 5 11
print_log_sortable_header()
S
60 5 11
prevent_author_enumeration_redirect()
S
65 5 8
schedule_cron_jobs()
S
64 5 9
handle_clear_cache_action()
S
58 4 13
on_settings_update()
S
62 4 11
log_event()
S
56 3 18
display_user_agents_tab()
S
43 1 48
get_html_email_template()
S
45 1 45
get_formatted_datetime()
S
82 4 1
get_default_settings()
S
45 1 45
handle_login_page_restriction()
S
60 3 13
add_hooks()
S
50 2 27
display_admin_notice()
S
61 3 12
notification_frequency_callback()
S
54 2 20
geolocation_provider_callback()
S
55 2 20
restrict_login_page_callback()
S
56 2 16
geoblock_countries_callback()
S
58 2 16
get_current_admin_username()
S
74 3 4
check_database_update()
S
66 3 9
schedule_notification_cron()
S
65 3 8
render_per_page_selector()
S
59 2 15
email_field_callback()
S
59 2 15
display_honeypot_tab()
S
48 1 29
checkbox_field_callback()
S
59 2 13
admin_menu()
S
62 2 12
get_instance()
S
71 2 6
purge_old_logs()
S
64 2 8
get_client_ip()
S
67 2 8
send_test_email_button_callback()
S
61 1 14
get_block_message()
S
61 1 12
clear_cache_button_callback()
S
63 1 12
__construct()
S
72 1 5
set_html_mail_content_type()
S
82 1 3
is_whitelisted()
S
75 1 4
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
88 1 1
remove_all_other_admin_notices()
S
77 1 4
display_404_logs_tab()
S
81 1 3
display_403_logs_tab()
S
81 1 3
display_login_logs_tab()
S
81 1 3
geoblocking_section_callback()
S
73 1 4
textarea_field_callback()
S
65 1 9
timezone_select_callback()
S
85 1 1