Opt_In_Utils D

Total Complexity 158
Dependencies 7
Dependents 64
Total lines 1,344
Lines of code 845
Logical lines of code 303
Comment lines 360
Methods 38
Properties 3

Methods 38

Method Rating Maintainability Complexity Lines of code
get_countries()
A
21
1 254
get_link()
A
44 12 44
get_module_type_display_name()
A
49 10 32
get_real_page_id()
A
56 10 16
validate_and_sanitize_fields()
A
52 9 22
get_hub_cache_status()
A
48 7 33
is_user_allowed()
S
52 7 23
get_post_data()
S
54 7 21
test_referrer()
S
54 7 21
maybe_log()
S
57 7 15
replace_global_placeholders()
S
53 6 21
get_admin_roles()
S
56 6 17
get_referrer()
S
59 6 13
get_captcha_languages()
S
37 1 77
is_hub_cache()
S
56 5 17
get_membership_status()
S
59 5 15
get_current_actual_url()
S
60 5 12
get_select2_data()
S
53 4 23
get_post_types()
S
53 4 23
is_static_cache_enabled()
S
61 4 13
is_hustle_included_in_membership()
S
66 4 8
maybe_add_scripts_for_ie()
S
63 3 12
is_user_allowed_ajax()
S
64 3 10
get_user_data()
S
68 3 7
get_cookie_saving_notice()
S
61 1 17
replace_array_key()
S
63 2 10
hustle_get_page_templates()
S
67 2 8
get_post_id()
S
79 2 3
array_key_first()
S
78 2 3
get_current_url()
S
69 2 6
is_admin_role()
S
67 2 7
sanitize_text_input_deep()
S
70 2 6
validate_ajax_call()
S
74 2 4
get_browsers()
S
62 1 11
get_user_roles()
S
72 1 5
is_woocommerce_active()
S
80 1 3
get_global_placeholders()
S
64 1 9
is_free()
S
75 1 4