Cartflows_Utils A

Total Complexity 75
Dependencies 3
Dependents 1
Total lines 613
Lines of code 254
Logical lines of code 144
Comment lines 202
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
get_selected_checkout_products()
A
49 7 32
set_selcted_checkout_products()
S
55 7 20
update_the_add_to_cart_param()
S
57 5 15
get_assets_path()
S
55 3 21
get_optin_id_from_order()
S
68 3 7
current_post_type()
S
68 3 7
check_is_offer_page()
S
68 3 7
get_flow_steps()
S
68 3 7
get_flow_id_from_order()
S
68 3 7
get_checkout_id_from_order()
S
68 3 7
get_checkout_id_from_post_data()
S
65 3 9
get_flow_id_from_post_data()
S
65 3 9
get_optin_id_from_post_data()
S
69 2 7
do_not_cache()
S
64 2 10
check_is_thankyou_page()
S
69 2 7
check_is_checkout_page()
S
69 2 7
get_instance()
S
71 2 6
is_flow_post_type()
S
71 2 6
get_flow_id()
S
67 2 8
is_step_post_type()
S
71 2 6
clear_cache()
S
74 2 5
__construct()
S
91 1 2
get_next_step_id()
S
73 1 5
get_step_type()
S
79 1 3
get_flow_id_from_step_id()
S
79 1 3
check_is_woo_required_page()
S
68 1 7
get_linking_url()
S
73 1 5
get_flow_post_type()
S
82 1 3
get_css_url()
S
71 1 5
get_js_url()
S
72 1 5
get_unique_id()
S
78 1 3
get_step_post_type()
S
82 1 3