-
Home
-
Simple Membership
-
4.6.8 (latest)
-
Code
-
Classes
- SwpmPermission
| Total Complexity |
30 |
| Dependencies |
0 |
| Dependents |
11 |
| Total lines |
61 |
| Lines of code |
43 |
| Logical lines of code |
17 |
| Comment lines |
0 |
| Methods |
12 |
| Properties |
1 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| is_permitted() |
S |
76 |
6 |
3 |
| get_instance() |
S |
62 |
5 |
10 |
| is_permitted_attachment() |
S |
78 |
2 |
3 |
| is_permitted_custom_post() |
S |
78 |
2 |
3 |
| is_permitted_category() |
S |
78 |
2 |
3 |
| is_post_in_permitted_category() |
S |
78 |
2 |
3 |
| is_permitted_post() |
S |
78 |
2 |
3 |
| is_permitted_page() |
S |
78 |
2 |
3 |
| is_permitted_comment() |
S |
78 |
2 |
3 |
| is_post_in_permitted_parent_category() |
S |
78 |
2 |
3 |
| is_permitted_parent_category() |
S |
78 |
2 |
3 |
| __construct() |
S |
81 |
1 |
3 |