Code Analysis: Blackhole for Bad Bots 3.7.4

Function Rating Maintainability Complexity Lines of code
blackhole_settings_contextual_help()
B
23
2 260
blackhole_tools_admin_notice()
A
44 13 48
blackhole_callback_gopro()
A
49 14 29
blackhole_callback_blocked_bots()
A
45 12 34
blackhole_whois()
A
43 10 44
blackhole_send_email()
A
44 10 38
blackhole_abort()
A
57 11 15
blackhole_validate_badbots()
A
57 11 14
blackhole_whitelist()
A
49 10 27
blackhole_validate_options()
A
57 10 14
Blackhole_Bad_Bots::constants()
A
62 10 11
blackhole_delete_bot()
A
53 8 20
blackhole_check_log()
S
56 8 15
blackhole_scanner()
S
55 7 20
blackhole_callback_textarea()
S
53 7 19
blackhole_validate_ip()
S
56 7 18
blackhole_callback_radio()
S
56 7 16
blackhole_get_vars()
S
58 7 13
blackhole_dismiss_notice_save()
S
59 7 12
blackhole_get_email_address()
S
60 7 11
blackhole_callback_select()
S
58 6 13
blackhole_disable_cache()
S
61 6 12
blackhole_reset_badbots()
S
57 5 16
blackhole_evaluate_ip()
S
57 5 15
Blackhole_Bad_Bots::check_version()
S
58 5 13
blackhole_robots()
S
59 5 13
blackhole_reset_options()
S
59 5 13
blackhole_get_host()
S
61 5 11
Blackhole_Bad_Bots::action_links()
S
57 4 15
Blackhole_Bad_Bots::instance()
S
49 3 30
blackhole_clear_cache()
S
70 5 5
blackhole_display_message()
S
59 4 13
blackhole_print_js_vars_admin()
S
54 3 25
blackhole_badbots_contextual_help()
S
47 2 37
blackhole_template()
S
52 1 47
blackhole_callback_robots()
S
56 3 16
blackhole_get_deps()
S
58 3 15
blackhole_get_current_screen_id()
S
68 4 6
blackhole_is_tty()
S
67 4 8
blackhole_callback_text()
S
64 4 8
blackhole_normalize_ip()
S
62 4 10
blackhole_callback_checkbox()
S
64 4 8
blackhole_get_help_pro_info()
S
49 1 35
blackhole_register_settings()
S
45 1 34
Blackhole_Bad_Bots::footer_text()
S
63 3 10
blackhole_callback_pro()
S
61 3 10
blackhole_dismiss_notice_version()
S
67 3 8
blackhole_domain()
S
70 3 5
Blackhole_Bad_Bots::check_blackhole()
S
62 3 10
blackhole_enqueue_resources_admin()
S
64 3 9
Blackhole_Bad_Bots::default_ips()
S
68 3 6
Blackhole_Bad_Bots::includes()
S
60 2 14
Blackhole_Bad_Bots::plugin_links()
S
59 2 13
blackhole_log_bot()
S
53 1 23
blackhole_get_help_sidebar()
S
54 1 20
blackhole_callback_pro_extra()
S
54 1 19
blackhole_message_display()
S
58 1 17
blackhole_dismiss_notice_check()
S
75 2 4
blackhole_callback_rate()
S
67 2 6
blackhole_get_date()
S
65 2 9
blackhole_get_ip()
S
68 2 7
blackhole_display_settings()
S
62 1 15
blackhole_message_custom()
S
71 2 5
blackhole_check_date_expired()
S
74 2 4
blackhole_callback_support()
S
68 2 6
Blackhole_Bad_Bots::badbots()
S
59 1 15
blackhole_display_warning()
S
65 2 8
blackhole_callback_reset()
S
67 2 6
blackhole_display_badbots()
S
65 1 13
Blackhole_Bad_Bots::options()
S
61 1 12
blackhole_robots_wordpress()
S
80 1 3
blackhole_go_pro()
S
65 1 8
blackhole_trigger()
S
65 1 8
blackhole_is_login()
S
78 1 3
blackhole_callback_reset_badbots()
S
70 1 5
Blackhole_Bad_Bots::__wakeup()
S
78 1 3
blackhole_callback_gopro_label()
S
78 1 3
Blackhole_Bad_Bots::__clone()
S
78 1 3
blackhole_message_default()
S
69 1 6
blackhole_robots_rules()
S
74 1 4
blackhole_message_nothing()
S
76 1 4
blackhole_menu_pages()
S
68 1 6
blackhole_callback_gopro_text()
S
74 1 4
blackhole_settings_section_frontend()
S
78 1 3
Blackhole_Bad_Bots::default_uas()
S
68 1 7
Blackhole_Bad_Bots::blackhole_allow_style()
S
77 1 4
blackhole_dismiss_notice_activate()
S
82 1 3
blackhole_ip_in_range()
S
65 1 8
blackhole_settings_section_badbots()
S
72 1 5
blackhole_settings_section_alerts()
S
78 1 3
blackhole_register_badbots()
S
65 1 7
blackhole_callback_gopro_number()
S
73 1 4
blackhole_settings_section_botlog()
S
78 1 3
blackhole_settings_section_trigger()
S
78 1 3
blackhole_dismiss_notice_link()
S
68 1 6
blackhole_bad_bots()
S
82 1 3
blackhole_nonce_life()
S
83 1 3
blackhole_callback_gopro_checkbox()
S
74 1 4
blackhole_settings_section_settings()
S
66 1 7
blackhole_settings_section_advanced()
S
78 1 3
blackhole_callback_gopro_select()
S
71 1 5