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