-
Home
-
PPWP – Password Protect Pages
-
1.8.3
-
Code
-
Classes
- PPW_Content_Protection
Total Complexity |
56 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
505 |
Lines of code |
381 |
Logical lines of code |
155 |
Comment lines |
33 |
Methods |
20 |
Properties |
3 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate_password() |
A |
38 |
7 |
84 |
validate_cookie() |
S |
49 |
6 |
33 |
handle_admin_notices() |
S |
49 |
5 |
39 |
handle_shortcode_with_area() |
S |
56 |
6 |
18 |
get_info_from_area_cookie() |
S |
50 |
5 |
30 |
maybe_unlock_content_by_cookie() |
S |
56 |
4 |
17 |
register_post_type() |
S |
49 |
2 |
31 |
valid_shortcode() |
S |
65 |
4 |
9 |
validate_single_password() |
S |
56 |
2 |
18 |
check_area_exist() |
S |
66 |
3 |
9 |
maybe_add_metabox() |
S |
56 |
1 |
20 |
display_metabox() |
S |
56 |
1 |
19 |
register() |
S |
56 |
1 |
17 |
get_instance() |
S |
71 |
2 |
6 |
render_content_custom_column() |
S |
73 |
2 |
5 |
__construct() |
S |
76 |
1 |
4 |
add_action_to_divi() |
S |
77 |
1 |
4 |
add_pcp_tab() |
S |
67 |
1 |
8 |
add_shortcode_column() |
S |
68 |
1 |
6 |
massage_post_content() |
S |
75 |
1 |
4 |