Code Analysis: Password Protected 2.5.2

Function Rating Maintainability Complexity Lines of code
Password_Protected_Admin::password_protected_admin_notices()
A
50 13 26
Password_Protected::maybe_show_login()
A
46 11 35
Password_Protected::maybe_process_login()
A
50 11 25
Password_Protected::login_messages()
A
51 8 26
Password_Protected::validate_auth_cookie()
S
51 7 25
Password_Protected_Admin::sanitize_password_protected_password()
S
55 6 19
Password_Protected::is_active()
S
58 5 16
Password_Protected::set_auth_cookie()
S
54 4 19
Password_Protected_Admin_Caching::cache_settings_info()
S
51 3 33
Password_Protected::parse_auth_cookie()
S
58 4 15
Password_Protected::only_allow_logged_in_rest_access()
S
68 5 6
Password_Protected_Admin::password_protected_settings()
S
44 1 59
Password_Protected::__construct()
S
49 3 29
Password_Protected::load_theme_stylesheet()
S
59 4 13
Password_Protected_Admin::is_current_screen()
S
62 4 12
Password_Protected::maybe_process_logout()
S
61 4 12
Password_Protected::install()
S
62 4 11
Password_Protected\Admin_Bar::styles()
S
58 3 19
Password_Protected::logout_link()
S
58 3 16
Password_Protected::allow_users()
S
70 4 6
Password_Protected_Admin_Caching::test_wp_engine()
S
77 4 3
Password_Protected::allow_administrators()
S
70 4 6
Password_Protected_Admin::plugin_screen_ids()
S
63 3 11
wp_shake_js()
S
65 2 15
Password_Protected::allow_ip_addresses()
S
68 3 7
Password_Protected::disable_caching()
S
73 3 5
Password_Protected::compat()
S
68 3 7
Password_Protected::allow_feeds()
S
71 3 6
Password_Protected\Admin_Bar::toolbar_item()
S
62 2 13
Password_Protected_Admin::settings_page()
S
61 1 17
Password_Protected_Admin::add_privacy_policy()
S
67 2 7
Password_Protected_Admin::plugin_row_meta()
S
67 2 7
Password_Protected_Admin::pre_update_option_password_protected_password()
S
69 2 7
Password_Protected_Admin_Caching::test_w3_total_cache()
S
79 2 3
Password_Protected_Admin::add_help_tabs()
S
68 2 7
Password_Protected::is_user_logged_in()
S
79 2 3
Password_Protected::logout_url()
S
64 2 10
Password_Protected_Admin::password_protected_allowed_ip_addresses_field()
S
65 2 8
Password_Protected::disable_feeds()
S
65 2 9
Password_Protected\Admin_Bar::get_toolbar_item_url()
S
71 2 6
Password_Protected\Admin_Bar::get_toolbar_item_title()
S
70 2 6
Password_Protected::logout_link_shortcode()
S
64 1 11
Password_Protected_Admin::__construct()
S
62 1 11
Password_Protected::load_plugin_textdomain()
S
77 1 3
Password_Protected_Admin_Caching::__construct()
S
75 1 4
Password_Protected::get_allowed_ip_addresses()
S
79 1 3
Password_Protected::encrypt_password()
S
80 1 3
wp_login_viewport_meta()
S
100 1 5
Password_Protected_Admin::password_protected_remember_me_field()
S
77 1 3
Password_Protected_Admin::validate_ip_address()
S
79 1 3
Password_Protected::cookie_name()
S
78 1 3
Password_Protected::login_url()
S
78 1 3
Password_Protected::logout()
S
77 1 4
Password_Protected\Admin_Bar::load()
S
72 1 5
Password_Protected_Admin::admin_error_display()
S
80 1 3
Password_Protected_Admin_Caching::section_caching()
S
74 1 4
Password_Protected\Admin_Bar::allow_current_user()
S
80 1 3
Password_Protected_Admin::password_protected_remember_me_lifetime_field()
S
78 1 3
Password_Protected::clear_auth_cookie()
S
74 1 4
Password_Protected_Admin::admin_menu()
S
70 1 5
Password_Protected::get_site_id()
S
75 1 4
Password_Protected::is_plugin_supported()
S
82 1 3
Password_Protected_Admin::password_protected_status_field()
S
76 1 3
Password_Protected_Admin_Caching::field_cookies()
S
74 1 4
Password_Protected::generate_auth_cookie()
S
69 1 6
Password_Protected::safe_redirect()
S
72 1 5
Password_Protected::allow_remember_me()
S
80 1 3
Password_Protected_Admin::password_protected_settings_section()
S
74 1 4
Password_Protected_Admin::plugin_action_links()
S
74 1 4
Password_Protected_Admin_Caching::field_w3_total_cache()
S
71 1 5
Password_Protected_Admin::password_protected_password_field()
S
74 1 4
Password_Protected_Admin::sanitize_ip_addresses()
S
65 1 9
Password_Protected\Admin_Bar::is_enabled()
S
79 1 3
Password_Protected_Admin::password_protected_permissions_field()
S
67 1 6
Password_Protected_Admin_Caching::field_wp_engine()
S
74 1 4
Password_Protected::get_hashed_password()
S
79 1 3
Password_Protected::disable_feed()
S
78 1 3
Password_Protected_Admin::help_tabs()
S
65 1 9