ConvertKit_Output_Restrict_Content A

Total Complexity 75
Dependencies 8
Dependents 1
Total lines 906
Lines of code 309
Logical lines of code 204
Comment lines 427
Methods 21
Properties 7

Methods 21

Method Rating Maintainability Complexity Lines of code
subscriber_has_access()
A
49 11 32
maybe_run_subscriber_authentication()
A
46 8 41
maybe_run_subscriber_verification()
S
51 7 28
maybe_restrict_content()
S
52 7 28
get_call_to_action()
S
49 6 30
resource_exists()
S
56 5 20
is_restricted_content()
S
61 4 14
get_content_preview()
S
60 3 13
maybe_change_previous_post_where_clause()
S
62 3 11
maybe_change_next_post_where_clause()
S
62 3 11
maybe_change_previous_next_post_order_by_clause()
S
66 3 9
has_parent_page()
S
66 3 9
get_subscriber_id_from_request()
S
68 2 8
get_resource_type()
S
67 2 8
restrict_content()
S
70 2 6
store_subscriber_id_in_cookie_and_redirect()
S
63 1 12
__construct()
S
61 1 11
get_resource_id()
S
73 1 5
get_url()
S
73 1 4
get_excerpt()
S
70 1 6
in_authentication_flow()
S
80 1 3