Code Analysis: WP fail2ban 5.3.2

Function Rating Maintainability Complexity Lines of code
plugins_loaded()
B
40 20 52
register_message()
B
36 17 78
org\lecklider\charles\wordpress\wp_fail2ban\IP::__construct()
B
42 18 51
about()
B
32 13 121
plugin_action_links()
B
43 17 45
readme()
A
41 15 54
add_wpf2b_addon_page()
A
46 16 35
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::check_filters()
A
39 12 74
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::get_test_filter_obsolete()
A
38 10 76
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::check_filter_needs_update()
A
49 9 32
dashboard_widget_last_messages()
A
44 8 46
org\lecklider\charles\wordpress\wp_fail2ban\IpRangeList::__construct()
A
53 9 22
init()
A
54 9 19
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::get_test_filter_modified()
A
44 6 47
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::get_test_filter_missing()
A
44 6 47
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::get_test_fail2ban_running()
S
45 6 45
admin_head_dashboard()
S
51 7 26
register_plugin()
S
52 7 25
block_users()
S
52 7 24
admin_notices()
S
55 7 20
parse_request()
S
57 7 16
render_tabs()
S
46 5 44
_remote_addr()
S
49 6 28
wp_login_failed()
S
52 6 25
org\lecklider\charles\wordpress\wp_fail2ban\Config::getter()
S
53 6 21
ip_in_range()
S
54 6 20
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::write()
S
54 6 19
org\lecklider\charles\wordpress\wp_fail2ban\Config::getDesc()
S
58 6 16
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::getHost()
S
57 6 15
getAddonInfo()
S
49 5 29
org\lecklider\charles\wordpress\wp_fail2ban\IpRangeList::containsBinaryIP()
S
60 6 13
getCloudflareInfo()
S
45 4 41
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::open()
S
54 5 21
admin_menu()
S
54 5 20
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::radio()
S
54 5 20
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::get_fail2ban_path()
S
55 5 20
log_message()
S
55 5 18
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::get_test_mu_ensure_activated()
S
57 5 17
wf_fs()
S
49 4 31
bail()
S
59 5 14
wp_dashboard_setup()
S
59 5 13
org\lecklider\charles\wordpress\wp_fail2ban\ConvertData::getFacilityNames2Values()
S
45 3 43
rest_user_query()
S
60 5 13
_security_settings()
S
53 4 22
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::inputText()
S
56 4 19
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::update_filters_asap()
S
51 3 33
admin_menu_fix()
S
64 5 9
_get_extra_about()
S
59 4 14
event2name()
S
60 4 13
org\lecklider\charles\wordpress\wp_fail2ban\Config::validateIPs()
S
61 4 12
log_spam_comment()
S
60 4 12
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::process_paras()
S
62 4 11
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::current_screen()
S
45 1 53
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::get_tests()
S
49 2 34
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::see_also()
S
57 3 17
org\lecklider\charles\wordpress\wp_fail2ban\TabBlock::users()
S
60 3 15
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::updateLastMessages()
S
58 3 15
org\lecklider\charles\wordpress\wp_fail2ban\TabLoggingBase::getLogFacilitiesOptions()
S
58 3 15
org\lecklider\charles\wordpress\wp_fail2ban\Config::validateStringOrArray()
S
65 4 9
network_admin_menu()
S
72 4 5
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::get_test_log_comments_extra_deprecated()
S
51 2 29
wp_timezone_string()
S
59 3 14
dashboard_widget_last_messages_data()
S
59 3 14
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::get_test_comments_extra_log_deprecated()
S
51 2 29
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::checkbox()
S
60 3 13
org\lecklider\charles\wordpress\wp_fail2ban\IpRangeList::containsIP()
S
61 3 12
org\lecklider\charles\wordpress\wp_fail2ban\Config::load()
S
60 3 12
getDbInfo()
S
54 2 24
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::current_screen()
S
50 1 35
org\lecklider\charles\wordpress\wp_fail2ban\TabLoggingBase::log()
S
55 2 20
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::add_help_tab()
S
55 2 20
_settings()
S
57 2 17
array_value()
S
72 3 5
auto_update_plugin()
S
63 3 10
authenticate()
S
67 3 7
_get_comment_attempt_log()
S
66 3 9
logo_box()
S
61 2 15
is_registered_plugin()
S
74 3 4
heartbeat_received()
S
70 3 6
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::should_skip_filters()
S
63 3 10
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::description()
S
64 3 10
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::description_ex()
S
64 3 10
org\lecklider\charles\wordpress\wp_fail2ban\IP::inRanges()
S
66 3 8
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::getActiveTab()
S
65 3 9
settings()
S
60 2 14
xmlrpc_log()
S
61 2 13
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::help_entry()
S
61 2 12
getContactForm7Info()
S
64 2 11
getGravityFormsInfo()
S
64 2 11
org\lecklider\charles\wordpress\wp_fail2ban\TabBlock::current_screen()
S
54 1 24
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::workarounds()
S
56 1 21
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::connection()
S
57 1 20
_network_admin_menu()
S
58 1 16
org\lecklider\charles\wordpress\wp_fail2ban\IP::getCidr()
S
74 2 5
org\lecklider\charles\wordpress\wp_fail2ban\ConvertData::intToSyslogPriorityName()
S
72 2 5
org\lecklider\charles\wordpress\wp_fail2ban\TabRemoteIPs::proxies_value()
S
69 2 6
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::field_id()
S
66 2 8
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::ndef_disabled()
S
76 2 3
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::getTag()
S
73 2 5
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::close()
S
70 2 6
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::single()
S
67 2 8
org\lecklider\charles\wordpress\wp_fail2ban\IpRangeList::offsetGet()
S
78 2 3
org\lecklider\charles\wordpress\wp_fail2ban\IP::__toString()
S
74 2 5
org\lecklider\charles\wordpress\wp_fail2ban\IP::getVersion()
S
74 2 5
org\lecklider\charles\wordpress\wp_fail2ban\IP::getIpN()
S
74 2 5
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::process_para()
S
71 2 6
org\lecklider\charles\wordpress\wp_fail2ban\IP::getNetmaskN()
S
74 2 5
remote_addr()
S
70 2 7
register_messages()
S
74 2 5
xmlrpc_call()
S
68 2 7
org\lecklider\charles\wordpress\wp_fail2ban\SiteHealth::get_instance()
S
71 2 6
xmlrpc_login_error()
S
65 2 9
strip_comments_blanks()
S
72 2 5
xmlrpc_pingback_error()
S
68 2 7
is_registered_plugin_message()
S
71 2 5
retrieve_password()
S
66 2 8
org\lecklider\charles\wordpress\wp_fail2ban\IP::getIpP()
S
74 2 5
wp_sitemaps_add_provider()
S
74 2 5
init_tabs()
S
66 2 10
org\lecklider\charles\wordpress\wp_fail2ban\IP::getNetmaskP()
S
74 2 5
org\lecklider\charles\wordpress\wp_fail2ban\TabRemoteIPs::current_screen()
S
61 1 14
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::admin_init()
S
58 1 13
security()
S
61 1 12
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::__construct()
S
61 1 11
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::admin_init()
S
60 1 11
org\lecklider\charles\wordpress\wp_fail2ban\IP::netmask_v4()
S
74 1 4
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::comment()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::getSlug()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::getSettings()
S
81 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::__construct()
S
62 1 10
org\lecklider\charles\wordpress\wp_fail2ban\IpRangeList::current()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::doc_link()
S
65 1 10
comment_id_not_found()
S
75 1 4
org\lecklider\charles\wordpress\wp_fail2ban\IpRangeList::next()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::def()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::inputPassword()
S
77 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::current_screen()
S
66 1 8
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::rest()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::field_name()
S
74 1 4
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::getName()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::desc()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\IpRangeList::rewind()
S
81 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::admin_init()
S
100 1 0
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::sectionConnection()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabRemoteIPs::__construct()
S
71 1 5
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::__construct()
S
78 1 3
org\lecklider\charles\wordpress\wp_fail2ban\IpRangeList::offsetExists()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\ConvertData::intToSyslogPrioritySlug()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::inputEmail()
S
77 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::is_loaded()
S
79 1 3
init__late()
S
74 1 5
wp_login()
S
75 1 4
li()
S
74 1 5
oembed_response_data()
S
74 1 5
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::passwordRequest()
S
73 1 6
closelog()
S
82 1 3
wp_sitemaps_users_pre_max_num_pages()
S
83 1 3
org\lecklider\charles\wordpress\wp_fail2ban\IpRangeList::offsetUnset()
S
80 1 3
comment_closed()
S
75 1 4
have_defined()
S
78 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::pingbacks()
S
73 1 6
org\lecklider\charles\wordpress\wp_fail2ban\IpRangeList::count()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBlock::__construct()
S
67 1 7
welcome()
S
74 1 8
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::def_checked()
S
78 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::auth()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBlock::userEnumeration()
S
81 1 3
comment_on_password_protected()
S
75 1 4
org\lecklider\charles\wordpress\wp_fail2ban\IP::isValid()
S
82 1 3
plugins_loaded__early()
S
83 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabRemoteIPs::admin_init()
S
69 1 6
org\lecklider\charles\wordpress\wp_fail2ban\Config::getDescEx()
S
71 1 6
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::sectionWorkarounds()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::str_array_val()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::authentication()
S
68 1 8
org\lecklider\charles\wordpress\wp_fail2ban\IpRangeList::key()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::setter()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::isActiveTab()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabLoggingBase::getLogFacilities()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::getTabName()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::getTab()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::validate_ips()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::settings()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::__get()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::password()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\IP::netmask_v6()
S
62 1 10
org\lecklider\charles\wordpress\wp_fail2ban\TabRemoteIPs::section()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::gettext()
S
79 1 3
notify_post_author()
S
72 1 5
org\lecklider\charles\wordpress\wp_fail2ban\TabBlock::admin_init()
S
65 1 8
getBlocklistInfo()
S
67 1 9
org\lecklider\charles\wordpress\wp_fail2ban\Config::desc_ex()
S
79 1 3
openlog()
S
81 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::xmlrpc()
S
80 1 3
comment_on_trash()
S
75 1 4
org\lecklider\charles\wordpress\wp_fail2ban\TabBlock::section()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::init()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::tabExists()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\IpRangeList::valid()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::spam()
S
80 1 3
syslog()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::getNdef()
S
71 1 5
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::current_screen()
S
91 1 2
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::__construct()
S
66 1 8
org\lecklider\charles\wordpress\wp_fail2ban\Config::get_default()
S
75 1 4
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::sectionWhatWhere()
S
91 1 2
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::block()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::unload()
S
72 1 5
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::setDefaultTab()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::render()
S
76 1 4
wp_sitemaps_users_pre_url_list()
S
83 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabRemoteIPs::proxies()
S
70 1 7
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::other()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::get()
S
78 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::ndef()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::sanitize()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::sectionLoggingEventClasses()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::spam()
S
73 1 6
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::comments()
S
73 1 6
org\lecklider\charles\wordpress\wp_fail2ban\Config::set()
S
78 1 3
_log_bail_user_enum()
S
73 1 5
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::commentAttempts()
S
73 1 6
___remote_addr()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\IpRangeList::offsetSet()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::render_buttons()
S
67 1 9
comment_on_draft()
S
75 1 4
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::admin_init()
S
65 1 8
org\lecklider\charles\wordpress\wp_fail2ban\TabBlock::usernames()
S
81 1 3