Opt_In_Utils D

Total Complexity 129
Dependencies 6
Dependents 38
Total lines 1,174
Lines of code 735
Logical lines of code 240
Comment lines 323
Methods 32
Properties 2

Methods 32

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