SwpmProtection S

Total Complexity 26
Dependencies 2
Dependents 5
Total lines 116
Lines of code 78
Logical lines of code 32
Comment lines 25
Methods 16
Properties 2

Methods 16

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