ConvertKit_Output_Restrict_Content A

Total Complexity 57
Dependencies 7
Dependents 1
Total lines 740
Lines of code 233
Logical lines of code 150
Comment lines 373
Methods 18
Properties 8

Methods 18

Method Rating Maintainability Complexity Lines of code
maybe_restrict_content()
S
52 7 28
subscriber_has_access()
S
56 6 18
get_call_to_action()
S
51 5 25
maybe_run_subscriber_verification()
S
53 5 25
maybe_run_subscriber_authentication()
S
52 5 25
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
__construct()
S
58 2 14
get_resource_type()
S
67 2 8
get_subscriber_id_from_request()
S
68 2 8
get_resource_id()
S
73 1 5
restrict_content()
S
78 1 3
get_url()
S
73 1 4
in_authentication_flow()
S
80 1 3