-
Home
-
Simple Membership
-
4.2.4
-
Code
-
Classes
- SwpmProtection
| Total Complexity |
19 |
| Dependencies |
1 |
| Dependents |
5 |
| Total lines |
66 |
| Lines of code |
48 |
| Logical lines of code |
18 |
| Comment lines |
9 |
| Methods |
13 |
| Properties |
1 |
Methods 13
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| is_protected() |
S |
63 |
6 |
10 |
| get_instance() |
S |
75 |
2 |
4 |
| __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 |