ConvertKit_Output_Restrict_Content C

Total Complexity 102
Dependencies 8
Dependents 1
Total lines 1,318
Lines of code 585
Logical lines of code 262
Comment lines 520
Methods 24
Properties 9

Methods 24

Method Rating Maintainability Complexity Lines of code
is_crawler()
A
27
7 180
maybe_run_subscriber_authentication()
A
40 13 64
subscriber_has_access()
A
46 11 39
maybe_restrict_content()
A
49 11 34
get_call_to_action()
A
44 8 48
maybe_run_subscriber_verification()
A
47 8 39
ip_in_range()
S
54 6 21
resource_exists()
S
56 5 20
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
is_restricted_content()
S
64 3 11
has_parent_page()
S
66 3 9
maybe_change_previous_next_post_order_by_clause()
S
66 3 9
__construct()
S
58 2 14
get_url()
S
63 2 12
get_resource_type()
S
65 2 9
get_subscriber_id_from_request()
S
68 2 8
restrict_content()
S
64 2 10
get_resource_id()
S
70 1 6
in_authentication_flow()
S
80 1 3
redirect()
S
77 1 4
get_excerpt()
S
70 1 6
store_subscriber_id_in_cookie()
S
76 1 4