ADVAIPBL_Main D

Total Complexity 385
Dependencies 4
Dependents 3
Total lines 1,898
Lines of code 1,606
Logical lines of code 1,079
Comment lines 136
Methods 62
Properties 7

Methods 62

Method Rating Maintainability Complexity Lines of code
handle_admin_actions()
C
31 26 99
display_whitelist_tab()
C
35 26 71
display_blocked_ips_tab()
C
31 24 96
settings_page_content()
B
44 22 36
execute_shutdown_block()
B
34 18 83
display_logs_tab()
B
33 16 97
sanitize_settings()
B
45 17 33
display_log_table()
A
36 14 71
run_all_block_checks()
A
44 16 39
detect_http_error_status()
A
45 16 34
send_block_notification()
A
38 14 59
handle_error()
A
43 12 43
process_and_send_summary()
A
41 8 51
migrate_old_logs()
A
49 9 27
add_admin_ip_to_whitelist_on_first_run()
A
55 9 17
text_field_callback()
A
51 8 24
display_credits_tab()
A
35 1 125
get_client_ip()
S
52 7 24
log_settings_change()
S
54 7 20
activate_plugin()
S
49 6 29
get_all_blocked_ips_for_cli()
S
50 6 25
log_specific_error()
S
50 6 25
block_ip_instantly()
S
51 6 22
desbloquear_ip()
S
56 5 16
limpiar_ips_expiradas()
S
57 5 14
load_admin_scripts()
S
60 5 12
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
43 1 39
add_hooks()
S
53 2 21
notification_frequency_callback()
S
54 2 20
geolocation_provider_callback()
S
55 2 20
check_database_update()
S
67 3 8
schedule_notification_cron()
S
65 3 8
email_field_callback()
S
59 2 15
get_default_settings()
S
51 1 29
display_honeypot_tab()
S
48 1 29
get_instance()
S
71 2 6
is_whitelisted()
S
87 2 1
purge_old_logs()
S
64 2 8
clear_cache_button_callback()
S
63 1 12
display_general_settings_tab()
S
66 1 11
__construct()
S
72 1 5
is_internal_request()
S
89 1 1
get_block_message()
S
84 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
checkbox_field_callback()
S
63 1 10
textarea_field_callback()
S
65 1 9
timezone_select_callback()
S
85 1 1