Code Analysis: WP fail2ban 4.4.0.3

Function Rating Maintainability Complexity Lines of code
register_message()
B
37 16 74
add_wpf2b_addon_page()
A
46 16 35
plugins_loaded()
A
43 13 44
about()
A
37 10 83
plugin_action_links()
A
50 12 28
readme()
A
44 10 43
dashboard_widget_last_messages()
A
44 8 46
remote_addr()
A
52 9 24
init()
A
56 9 17
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
wp_login_failed()
S
52 6 25
ip_in_range()
S
54 6 20
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::write()
S
54 6 19
bail()
S
56 6 18
org\lecklider\charles\wordpress\wp_fail2ban\Config::getDesc()
S
58 6 16
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::getHost()
S
57 6 15
org\lecklider\charles\wordpress\wp_fail2ban\Config::getter()
S
55 5 19
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::radio()
S
55 5 19
log_message()
S
55 5 18
wf_fs()
S
49 4 31
org\lecklider\charles\wordpress\wp_fail2ban\ConvertData::getFacilityNames2Values()
S
45 3 43
wp_dashboard_setup()
S
59 5 13
rest_user_query()
S
60 5 13
_security_settings()
S
53 4 22
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::open()
S
55 4 19
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::inputText()
S
56 4 19
admin_menu_fix()
S
64 5 9
_get_extra_about()
S
59 4 14
log_spam_comment()
S
60 4 12
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::process_paras()
S
62 4 11
admin_menu()
S
56 3 18
org\lecklider\charles\wordpress\wp_fail2ban\TabLoggingBase::getLogFacilitiesOptions()
S
58 3 15
org\lecklider\charles\wordpress\wp_fail2ban\TabBlock::users()
S
60 3 15
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::updateLastMessages()
S
58 3 15
dashboard_widget_last_messages_data()
S
59 3 14
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::checkbox()
S
60 3 13
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::current_screen()
S
47 1 43
org\lecklider\charles\wordpress\wp_fail2ban\Config::load()
S
60 3 12
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::commentsExtra()
S
49 1 38
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
authenticate()
S
67 3 7
logo_box()
S
61 2 15
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::getActiveTab()
S
65 3 9
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::description()
S
64 3 10
heartbeat_received()
S
70 3 6
is_registered_plugin()
S
74 3 4
settings()
S
60 2 14
xmlrpc_log()
S
61 2 13
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::see_also()
S
61 2 13
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::help_entry()
S
61 2 12
org\lecklider\charles\wordpress\wp_fail2ban\TabBlock::current_screen()
S
55 1 21
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::connection()
S
57 1 20
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::workarounds()
S
57 1 20
_network_admin_menu()
S
58 1 16
network_admin_menu()
S
75 2 5
init_tabs()
S
66 2 10
array_value()
S
73 2 5
register_messages()
S
74 2 5
is_registered_plugin_message()
S
71 2 5
xmlrpc_pingback_error()
S
68 2 7
xmlrpc_call()
S
68 2 7
org\lecklider\charles\wordpress\wp_fail2ban\Config::validateIPs()
S
79 2 3
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::getTag()
S
73 2 5
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::single()
S
67 2 8
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::process_para()
S
71 2 6
org\lecklider\charles\wordpress\wp_fail2ban\Syslog::close()
S
70 2 6
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::doc_link()
S
67 2 7
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\TabRemoteIPs::proxies_value()
S
69 2 6
org\lecklider\charles\wordpress\wp_fail2ban\ConvertData::intToSyslogPriorityName()
S
72 2 5
xmlrpc_login_error()
S
65 2 9
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::admin_init()
S
58 1 13
security()
S
61 1 12
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::pingbacks()
S
73 1 6
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::render()
S
76 1 4
org\lecklider\charles\wordpress\wp_fail2ban\Config::desc()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::set()
S
78 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::getName()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::xmlrpc()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::sectionLoggingEventClasses()
S
79 1 3
notify_post_author()
S
72 1 5
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::sectionWhatWhere()
S
91 1 2
org\lecklider\charles\wordpress\wp_fail2ban\Config::__get()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::getTab()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::settings()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::getTabName()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::rest()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::render_buttons()
S
67 1 9
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::commentExtraChecked()
S
77 1 3
have_defined()
S
78 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::def()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::block()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::__construct()
S
78 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::getSlug()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabRemoteIPs::admin_init()
S
69 1 6
org\lecklider\charles\wordpress\wp_fail2ban\TabBlock::usernames()
S
81 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::sanitize()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::setter()
S
82 1 3
welcome()
S
74 1 8
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::inputEmail()
S
77 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::passwordRequest()
S
73 1 6
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::sectionWorkarounds()
S
82 1 3
_log_bail_user_enum()
S
73 1 5
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::inputPassword()
S
77 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabRemoteIPs::proxies()
S
70 1 7
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::comment()
S
80 1 3
plugins_loaded__early()
S
83 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::unload()
S
72 1 5
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::commentExtraDisabled()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::gettext()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::field_name()
S
74 1 4
comment_on_trash()
S
75 1 4
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::isActiveTab()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::admin_init()
S
100 1 0
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::current_screen()
S
91 1 2
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::current_screen()
S
66 1 8
org\lecklider\charles\wordpress\wp_fail2ban\Config::is_loaded()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabLoggingBase::getLogFacilities()
S
79 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
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::__construct()
S
63 1 10
org\lecklider\charles\wordpress\wp_fail2ban\Config::get_default()
S
75 1 4
org\lecklider\charles\wordpress\wp_fail2ban\Config::get()
S
78 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBlock::admin_init()
S
65 1 8
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\Config::getSettings()
S
81 1 3
org\lecklider\charles\wordpress\wp_fail2ban\ConvertData::intToSyslogPrioritySlug()
S
79 1 3
init__late()
S
74 1 5
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::authentication()
S
68 1 8
retrieve_password()
S
75 1 4
comment_on_password_protected()
S
75 1 4
comment_id_not_found()
S
75 1 4
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::__construct()
S
64 1 9
openlog()
S
81 1 3
syslog()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::spam()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::getNdef()
S
71 1 5
org\lecklider\charles\wordpress\wp_fail2ban\TabBlock::__construct()
S
67 1 7
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::comments()
S
67 1 8
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::setDefaultTab()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabRemoteIPs::current_screen()
S
65 1 10
org\lecklider\charles\wordpress\wp_fail2ban\TabBlock::section()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::ndef()
S
79 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::password()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\Config::validate_ips()
S
79 1 3
comment_closed()
S
75 1 4
comment_on_draft()
S
75 1 4
closelog()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::__construct()
S
66 1 8
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::spam()
S
73 1 6
org\lecklider\charles\wordpress\wp_fail2ban\TabRemoteIPs::section()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabBase::def_checked()
S
78 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::admin_init()
S
65 1 8
wp_login()
S
75 1 4
oembed_response_data()
S
74 1 5
org\lecklider\charles\wordpress\wp_fail2ban\TabPlugins::other()
S
80 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabSyslog::sectionConnection()
S
82 1 3
org\lecklider\charles\wordpress\wp_fail2ban\TabLogging::admin_init()
S
61 1 10
org\lecklider\charles\wordpress\wp_fail2ban\TabRemoteIPs::__construct()
S
71 1 5