SwpmProtection S

Total Complexity 29
Dependencies 3
Dependents 5
Total lines 148
Lines of code 96
Logical lines of code 44
Comment lines 40
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
is_protected()
S
63 6 10
save_swpm_all_protected_post_ids_list()
S
62 4 12
get_all_post_ids_of_site_memory_efficient()
S
53 3 23
is_post_protected_for_current_user()
S
67 2 8
get_instance()
S
75 2 4
is_post_in_protected_parent_category()
S
80 1 3
filter_protected_post_ids_list_for_current_user()
S
72 1 5
is_protected_parent_category()
S
80 1 3
is_protected_category()
S
80 1 3
__construct()
S
76 1 4
is_post_in_protected_category()
S
80 1 3
is_protected_custom_post()
S
80 1 3
is_protected_attachment()
S
80 1 3
is_protected_page()
S
80 1 3
is_protected_post()
S
80 1 3
get_last_message()
S
82 1 3
is_protected_comment()
S
80 1 3