-
Home
-
Password Protected – Password Protect your WordPress Site, Pages, & WooCommerce Products – Restrict Content, Protect WooCommerce Category and more
-
2.5
-
Code
-
Classes
- Password_Protected
| Total Complexity |
112 |
| Dependencies |
4 |
| Dependents |
1 |
| Total lines |
785 |
| Lines of code |
356 |
| Logical lines of code |
217 |
| Comment lines |
223 |
| Methods |
37 |
| Properties |
3 |
Methods 37
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| maybe_process_login() |
A |
50 |
11 |
25 |
| maybe_show_login() |
A |
49 |
9 |
30 |
| login_messages() |
A |
51 |
8 |
26 |
| validate_auth_cookie() |
S |
51 |
7 |
25 |
| is_active() |
S |
58 |
5 |
16 |
| set_auth_cookie() |
S |
54 |
4 |
19 |
| parse_auth_cookie() |
S |
58 |
4 |
15 |
| only_allow_logged_in_rest_access() |
S |
68 |
5 |
6 |
| __construct() |
S |
49 |
3 |
29 |
| load_theme_stylesheet() |
S |
59 |
4 |
13 |
| maybe_process_logout() |
S |
61 |
4 |
12 |
| install() |
S |
62 |
4 |
11 |
| allow_administrators() |
S |
70 |
4 |
6 |
| allow_users() |
S |
70 |
4 |
6 |
| logout_link() |
S |
60 |
3 |
13 |
| disable_caching() |
S |
73 |
3 |
5 |
| allow_feeds() |
S |
71 |
3 |
6 |
| allow_ip_addresses() |
S |
68 |
3 |
7 |
| compat() |
S |
68 |
3 |
7 |
| disable_feeds() |
S |
65 |
2 |
9 |
| is_user_logged_in() |
S |
79 |
2 |
3 |
| logout_url() |
S |
64 |
2 |
10 |
| load_plugin_textdomain() |
S |
77 |
1 |
3 |
| disable_feed() |
S |
78 |
1 |
3 |
| get_allowed_ip_addresses() |
S |
79 |
1 |
3 |
| allow_remember_me() |
S |
80 |
1 |
3 |
| encrypt_password() |
S |
80 |
1 |
3 |
| get_site_id() |
S |
75 |
1 |
4 |
| login_url() |
S |
78 |
1 |
3 |
| logout() |
S |
77 |
1 |
4 |
| logout_link_shortcode() |
S |
68 |
1 |
7 |
| get_hashed_password() |
S |
79 |
1 |
3 |
| generate_auth_cookie() |
S |
69 |
1 |
6 |
| clear_auth_cookie() |
S |
74 |
1 |
4 |
| cookie_name() |
S |
78 |
1 |
3 |
| safe_redirect() |
S |
72 |
1 |
5 |
| is_plugin_supported() |
S |
82 |
1 |
3 |