Tagging_WC_Utils A

Total Complexity 66
Dependencies 4
Dependents 9
Total lines 450
Lines of code 348
Logical lines of code 149
Comment lines 2
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
get_data_layer_item()
S
49 6 32
get_data_layer_categories()
S
54 6 21
get_product_brand()
S
53 5 24
get_order_user_data()
S
46 4 36
get_product_variations()
S
55 5 19
get_data_layer_user_data()
S
47 3 34
set_cookie()
S
53 2 27
is_new_customer()
S
64 3 10
is_first_time_customer()
S
61 2 13
get_order_data_layer_items()
S
61 2 12
get_cart_data_layer_items()
S
61 2 12
instance()
S
71 2 6
get_state()
S
68 2 7
get_item()
S
67 2 8
convert_product_data_to_html_attrs()
S
67 2 7
get_session()
S
70 2 6
convert_product_data_key()
S
68 2 7
get_cart_total()
S
78 2 3
formatted_price()
S
65 2 9
is_enable_user_data()
S
78 2 3
get_default_cookie_options()
S
61 1 12
get_country()
S
79 1 3
set_session()
S
65 1 10
javascript_delete_cookie()
S
67 1 8
get_product_categories()
S
65 1 10
enabled_wc()
S
80 1 3
json_encode()
S
78 1 3
is_enable_ecommerce()
S
80 1 3