Cartflows_Utils A

Total Complexity 63
Dependencies 3
Dependents 1
Total lines 566
Lines of code 236
Logical lines of code 132
Comment lines 196
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
get_selected_checkout_products()
A
45 9 43
set_selcted_checkout_products()
S
55 7 20
get_assets_path()
S
55 3 21
check_is_offer_page()
S
68 3 7
get_flow_steps()
S
68 3 7
get_instance()
S
71 2 6
get_checkout_id_from_post_data()
S
68 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_optin_id_from_post_data()
S
68 2 7
get_flow_id_from_post_data()
S
68 2 7
clear_cache()
S
74 2 5
current_post_type()
S
71 2 6
is_step_post_type()
S
71 2 6
get_flow_id()
S
67 2 8
is_flow_post_type()
S
71 2 6
get_linking_url()
S
73 1 5
get_unique_id()
S
78 1 3
get_js_url()
S
72 1 5
get_css_url()
S
71 1 5
get_flow_id_from_order()
S
75 1 4
get_step_post_type()
S
82 1 3
get_checkout_id_from_order()
S
75 1 4
get_flow_post_type()
S
82 1 3
get_flow_id_from_step_id()
S
79 1 3
get_step_type()
S
79 1 3
get_optin_id_from_order()
S
75 1 4
__construct()
S
91 1 2
get_next_step_id()
S
73 1 5
check_is_woo_required_page()
S
68 1 7