Cartflows_Utils B

Total Complexity 80
Dependencies 3
Dependents 1
Total lines 654
Lines of code 268
Logical lines of code 152
Comment lines 220
Methods 34
Properties 2

Methods 34

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
may_be_append_query_string()
S
62 4 11
get_assets_path()
S
55 3 21
get_flow_id_from_order()
S
68 3 7
get_flow_id_from_post_data()
S
65 3 9
get_checkout_id_from_post_data()
S
65 3 9
get_checkout_id_from_order()
S
68 3 7
get_optin_id_from_order()
S
68 3 7
check_is_offer_page()
S
68 3 7
get_flow_steps()
S
68 3 7
current_post_type()
S
68 3 7
check_is_thankyou_page()
S
69 2 7
check_is_checkout_page()
S
69 2 7
clear_cache()
S
74 2 5
do_not_cache()
S
69 2 7
get_instance()
S
71 2 6
get_flow_id()
S
67 2 8
is_flow_post_type()
S
71 2 6
is_step_post_type()
S
71 2 6
get_optin_id_from_post_data()
S
69 2 7
__construct()
S
91 1 2
get_next_step_id()
S
73 1 5
get_step_type()
S
79 1 3
check_is_woo_required_page()
S
68 1 7
get_flow_id_from_step_id()
S
79 1 3
get_cache_headers()
S
71 1 6
get_linking_url()
S
73 1 5
get_css_url()
S
71 1 5
get_js_url()
S
72 1 5
get_unique_id()
S
78 1 3
get_flow_post_type()
S
82 1 3
get_step_post_type()
S
82 1 3