-
Home
-
Advanced Access Manager – Restricted Content, Users & Roles, Enhanced Security and More
-
7.0.1 (latest)
-
Code
-
Classes
- AAM_Framework_Service_Posts
Total Complexity |
132 |
Dependencies |
6 |
Dependents |
0 |
Total lines |
987 |
Lines of code |
520 |
Logical lines of code |
282 |
Comment lines |
312 |
Methods |
26 |
Properties |
0 |
Methods 26
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
_normalize_resource_identifier() |
A |
47 |
13 |
37 |
is_password_protected() |
A |
48 |
9 |
32 |
is_restricted() |
A |
49 |
8 |
32 |
get_password() |
A |
53 |
8 |
22 |
is_access_expired() |
S |
50 |
7 |
29 |
is_hidden_on() |
S |
50 |
7 |
28 |
show() |
S |
50 |
6 |
29 |
is_redirected() |
S |
51 |
6 |
28 |
is_teaser_message_set() |
S |
51 |
6 |
28 |
allow() |
S |
53 |
6 |
23 |
deny() |
S |
53 |
6 |
23 |
get_redirect() |
S |
56 |
6 |
18 |
get_teaser_message() |
S |
56 |
6 |
18 |
get_expiration() |
S |
56 |
6 |
18 |
is_denied_to() |
S |
52 |
5 |
26 |
set_expiration() |
S |
53 |
4 |
23 |
hide() |
S |
55 |
4 |
20 |
set_password() |
S |
59 |
3 |
14 |
reset() |
S |
61 |
3 |
14 |
_is_post_expired() |
S |
66 |
3 |
8 |
set_redirect() |
S |
59 |
2 |
14 |
set_teaser_message() |
S |
59 |
2 |
14 |
is_allowed_to() |
S |
74 |
2 |
4 |
aggregate() |
S |
68 |
2 |
8 |
is_hidden() |
S |
74 |
1 |
5 |
_get_resource() |
S |
75 |
1 |
5 |