-
Home
-
Simple Membership
-
4.2.4
-
Code
-
Classes
- SwpmProtectionBase
| Total Complexity |
92 |
| Dependencies |
0 |
| Dependents |
0 |
| Total lines |
324 |
| Lines of code |
266 |
| Logical lines of code |
166 |
| Comment lines |
6 |
| Methods |
36 |
| Properties |
9 |
Methods 36
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| update_perms() |
B |
40 |
16 |
68 |
| init() |
A |
54 |
11 |
17 |
| post_in_parent_categories() |
A |
54 |
8 |
21 |
| in_parent_categories() |
A |
54 |
8 |
20 |
| post_in_categories() |
S |
55 |
7 |
19 |
| save() |
S |
57 |
5 |
15 |
| is_bookmark_disabled() |
S |
67 |
4 |
7 |
| apply() |
S |
67 |
2 |
7 |
| remove() |
S |
67 |
2 |
7 |
| in_categories() |
S |
72 |
2 |
5 |
| get() |
S |
71 |
2 |
6 |
| __construct() |
S |
91 |
1 |
2 |
| get_options() |
S |
82 |
1 |
3 |
| get_posts() |
S |
82 |
1 |
3 |
| get_pages() |
S |
82 |
1 |
3 |
| get_comments() |
S |
82 |
1 |
3 |
| get_categories() |
S |
82 |
1 |
3 |
| get_attachments() |
S |
82 |
1 |
3 |
| get_custom_posts() |
S |
82 |
1 |
3 |
| in_posts() |
S |
79 |
1 |
3 |
| in_pages() |
S |
79 |
1 |
3 |
| in_attachments() |
S |
79 |
1 |
3 |
| in_custom_posts() |
S |
79 |
1 |
3 |
| in_comments() |
S |
79 |
1 |
3 |
| add_posts() |
S |
79 |
1 |
3 |
| add_pages() |
S |
79 |
1 |
3 |
| add_attachments() |
S |
79 |
1 |
3 |
| add_comments() |
S |
79 |
1 |
3 |
| add_categories() |
S |
79 |
1 |
3 |
| add_custom_posts() |
S |
79 |
1 |
3 |
| remove_posts() |
S |
79 |
1 |
3 |
| remove_pages() |
S |
79 |
1 |
3 |
| remove_attachments() |
S |
79 |
1 |
3 |
| remove_comments() |
S |
79 |
1 |
3 |
| remove_categories() |
S |
79 |
1 |
3 |
| remove_custom_posts() |
S |
79 |
1 |
3 |