WPPCP_Private_Posts_Pages D

Total Complexity 136
Dependencies 0
Dependents 1
Total lines 536
Lines of code 401
Logical lines of code 266
Comment lines 3
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
global_protection_status()
D
35 33 77
validate_restrictions()
C
37 24 68
validate_post_author_restrictions()
B
42 20 48
protection_status()
B
40 18 68
save_post_restrictions()
A
45 16 38
add_post_restriction_box()
A
47 9 34
protection_author_status()
S
59 4 15
woocommerce_product_is_visible()
S
61 4 14
bbporess_forum_is_visible()
S
60 4 14
__construct()
S
63 1 10
init()
S
80 1 3
add_post_restrictions()
S
70 1 6
add_post_author_restrictions()
S
70 1 6