PPW_Password_Services D

Total Complexity 205
Dependencies 4
Dependents 6
Total lines 1,461
Lines of code 848
Logical lines of code 498
Comment lines 424
Methods 56
Properties 1

Methods 56

Method Rating Maintainability Complexity Lines of code
get_redirect_url()
A
44 8 51
update_post_status()
A
47 8 37
handle_hide_post_protected_recent_post()
A
51 8 26
handle_hide_post_protected_next_and_previous()
S
52 7 24
get_passwords()
S
50 6 30
migrate_default_password()
S
50 6 28
handle_hide_page_protected()
S
52 6 27
check_sum_migrate_data()
S
52 6 27
is_valid_cookie()
S
55 6 20
massage_pw_for_roles_from_post_meta()
S
57 6 18
get_protected_post_ids()
S
56 5 18
check_master_password_is_valid()
S
58 5 16
check_password_type_is_global()
S
61 5 12
generate_cookie_data()
S
51 4 25
handle_master_passwords()
S
54 4 22
set_password_to_cookie()
S
53 4 21
massage_master_passwords_with_post_type()
S
56 4 20
restore_wp_post_password()
S
58 4 17
handle_hide_post_protected()
S
57 4 16
handle_hide_page_protected_yoast_seo_sitemaps()
S
57 4 16
massage_pw_from_post_meta()
S
57 4 16
get_referer_url()
S
58 4 16
check_password_type_is_roles()
S
62 5 10
is_valid_password()
S
58 4 15
check_post_type_for_master_password()
S
61 4 12
check_master_cookies_are_exist()
S
63 4 11
create_password_type_role()
S
55 3 21
get_data_to_migrate()
S
56 3 19
validate_password()
S
57 3 18
check_valid_master_password()
S
57 3 18
get_protection_post_types_select()
S
58 3 16
generate_custom_row_action()
S
62 4 9
is_valid_password_from_request()
S
60 3 13
is_valid_permission()
S
60 3 13
custom_protected_ids()
S
63 3 11
create_password_type_global()
S
57 2 17
handle_after_enter_password_in_password_form()
S
66 3 8
is_protected_content_by_pro()
S
65 3 8
check_protection()
S
68 3 7
global_passwords_is_bad_request()
S
66 3 8
is_protected_content()
S
68 3 7
get_role_of_master_password()
S
63 3 10
get_current_password_role()
S
63 3 10
get_pw_meta()
S
62 2 11
__construct()
S
70 2 7
is_valid_free_password()
S
68 2 7
compare_passwords()
S
63 2 10
has_no_empty_password()
S
78 2 3
create_new_password()
S
64 2 9
advance_array_diff()
S
68 1 9
massage_role_pwd()
S
71 1 6
protect_page_post()
S
70 1 6
role_password_is_bad_request()
S
78 1 3
handle_redirect_after_enter_password()
S
73 1 5
set_cookie_bypass_cache()
S
76 1 4
unprotect_page_post()
S
76 1 4