Code Analysis: Blackhole for Bad Bots 3.3.2

Function Rating Maintainability Complexity Lines of code
blackhole_settings_contextual_help()
A
24
2 240
blackhole_callback_blocked_bots()
A
45 12 34
blackhole_abort()
A
57 12 15
blackhole_whois()
A
44 10 43
blackhole_validate_badbots()
A
57 11 14
blackhole_whitelist()
A
50 10 27
blackhole_tools_admin_notice()
A
50 9 30
blackhole_validate_options()
A
57 10 14
Blackhole_Bad_Bots::constants()
A
62 10 11
blackhole_check_log()
S
56 8 15
blackhole_scanner()
S
55 7 20
blackhole_validate_ip()
S
56 7 18
blackhole_delete_bot()
S
55 7 18
blackhole_send_email()
S
46 6 32
blackhole_callback_radio()
S
56 7 16
blackhole_get_vars()
S
58 7 13
blackhole_callback_select()
S
58 6 13
blackhole_print_js_vars_admin()
S
52 5 27
blackhole_disable_cache()
S
61 6 12
blackhole_evaluate_ip()
S
56 5 16
blackhole_reset_badbots()
S
58 5 15
Blackhole_Bad_Bots::check_version()
S
58 5 13
blackhole_robots()
S
59 5 13
blackhole_reset_options()
S
60 5 12
blackhole_get_host()
S
61 5 11
blackhole_enqueue_resources_admin()
S
61 5 11
Blackhole_Bad_Bots::action_links()
S
57 4 15
blackhole_clear_cache()
S
70 5 5
blackhole_display_message()
S
59 4 13
Blackhole_Bad_Bots::instance()
S
50 3 27
blackhole_badbots_contextual_help()
S
47 2 37
blackhole_template()
S
52 1 47
blackhole_callback_robots()
S
56 3 16
blackhole_callback_textarea()
S
63 4 9
blackhole_get_deps()
S
58 3 15
blackhole_callback_text()
S
64 4 8
blackhole_normalize_ip()
S
62 4 10
blackhole_is_tty()
S
67 4 8
blackhole_callback_checkbox()
S
64 4 8
blackhole_get_help_pro_info()
S
49 1 35
Blackhole_Bad_Bots::default_ips()
S
68 3 6
Blackhole_Bad_Bots::check_blackhole()
S
62 3 10
blackhole_domain()
S
70 3 5
Blackhole_Bad_Bots::includes()
S
60 2 14
Blackhole_Bad_Bots::plugin_links()
S
59 2 13
blackhole_log_bot()
S
54 1 22
blackhole_get_help_sidebar()
S
56 1 18
blackhole_message_display()
S
58 1 17
blackhole_callback_reset()
S
67 2 6
Blackhole_Bad_Bots::badbots()
S
59 1 15
blackhole_message_custom()
S
71 2 5
blackhole_callback_pro()
S
66 2 7
blackhole_callback_rate()
S
67 2 6
blackhole_register_settings()
S
55 1 15
blackhole_get_ip()
S
68 2 7
blackhole_display_settings()
S
62 1 15
blackhole_display_warning()
S
65 2 8
blackhole_display_badbots()
S
65 1 13
Blackhole_Bad_Bots::options()
S
61 1 12
blackhole_robots_wordpress()
S
80 1 3
Blackhole_Bad_Bots::__clone()
S
78 1 3
blackhole_nonce_life()
S
83 1 3
blackhole_message_nothing()
S
76 1 4
blackhole_callback_reset_badbots()
S
70 1 5
Blackhole_Bad_Bots::default_uas()
S
68 1 7
Blackhole_Bad_Bots::__wakeup()
S
78 1 3
blackhole_message_default()
S
69 1 6
blackhole_register_badbots()
S
65 1 7
blackhole_settings_section_badbots()
S
72 1 5
blackhole_is_login()
S
78 1 3
Blackhole_Bad_Bots::load_i18n()
S
77 1 3
blackhole_settings_section_options()
S
68 1 6
blackhole_bad_bots()
S
82 1 3
blackhole_ip_in_range()
S
65 1 8
blackhole_menu_pages()
S
71 1 5
blackhole_trigger()
S
65 1 8
blackhole_robots_rules()
S
74 1 4
Blackhole_Bad_Bots::blackhole_allow_style()
S
77 1 4