ADVAIPBL_Main D

Total Complexity 436
Dependencies 5
Dependents 3
Total lines 2,857
Lines of code 2,370
Logical lines of code 1,294
Comment lines 272
Methods 71
Properties 8

Methods 71

Method Rating Maintainability Complexity Lines of code
handle_admin_actions()
C
30 27 104
display_blocked_ips_tab()
C
29 24 114
settings_page_content()
C
36 26 73
display_logs_tab()
B
32 18 102
run_all_block_checks()
B
40 21 52
display_whitelist_tab()
B
34 18 85
execute_shutdown_block()
B
34 18 83
sanitize_settings()
B
43 19 39
send_block_notification()
B
36 16 69
display_log_table()
B
34 14 87
detect_http_error_status()
A
45 16 34
get_country_list()
A
22
1 249
load_admin_scripts()
A
38 11 72
handle_error()
A
43 12 43
add_admin_ip_to_whitelist_on_first_run()
A
50 12 26
process_and_send_summary()
A
41 8 51
display_status_tab()
A
40 7 65
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
handle_send_test_email()
A
46 7 35
block_ip_instantly()
A
48 7 31
log_settings_change()
S
54 7 20
activate_plugin()
S
49 6 30
get_all_blocked_ips_for_cli()
S
50 6 26
log_specific_error()
S
50 6 25
display_general_settings_tab()
S
41 2 85
get_server_ip()
S
58 6 14
get_client_ip()
S
51 5 27
desbloquear_ip()
S
56 5 16
limpiar_ips_expiradas()
S
57 5 14
access_denied_page()
S
60 5 12
print_sortable_header()
S
60 5 11
print_log_sortable_header()
S
60 5 11
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_formatted_datetime()
S
82 4 1
display_admin_notice()
S
61 3 12
register_settings()
S
42 1 42
get_default_settings()
S
46 1 41
add_hooks()
S
53 2 22
notification_frequency_callback()
S
54 2 20
geolocation_provider_callback()
S
55 2 20
render_per_page_selector()
S
57 2 18
geoblock_countries_callback()
S
58 2 16
check_database_update()
S
66 3 9
schedule_notification_cron()
S
65 3 8
email_field_callback()
S
59 2 15
display_honeypot_tab()
S
48 1 29
get_instance()
S
71 2 6
purge_old_logs()
S
64 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
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
89 1 1
add_cron_intervals()
S
87 1 1
clear_notification_cron()
S
92 1 1
deactivate_plugin()
S
88 1 1
admin_menu()
S
66 1 9
geoblocking_section_callback()
S
73 1 4
checkbox_field_callback()
S
63 1 10
textarea_field_callback()
S
65 1 9
timezone_select_callback()
S
85 1 1