WFACP_Public D

Total Complexity 301
Dependencies 10
Dependents 2
Total lines 1,346
Lines of code 959
Logical lines of code 622
Comment lines 125
Methods 63
Properties 23

Methods 63

Method Rating Maintainability Complexity Lines of code
push_product_to_cart()
D
28
32 126
add_to_cart()
C
37 26 69
add_to_cart_via_url()
B
35 19 80
modify_calculate_price_per_session()
A
46 9 38
get_analytics_data()
A
46 9 35
remove_shipping_method()
A
54 9 20
merge_default_product()
A
51 8 25
add_to_cart_action()
A
55 8 19
woocommerce_get_checkout_url()
A
56 8 17
is_native_checkout()
A
56 8 17
calculate_totals()
S
51 7 25
merge_session_product_with_actual_product()
S
54 7 21
product_available_form_purchase()
S
55 7 19
is_checkout_override()
S
58 7 16
woocommerce_checkout_process()
S
57 7 15
load_page_to_home_page()
S
60 7 12
__construct()
S
41 4 54
update_tracking_data()
S
61 6 12
woocommerce_ajax_get_endpoint()
S
56 5 18
get_image_src()
S
59 5 15
hide_out_meta_data()
S
62 6 10
unset_wcct_campaign()
S
60 5 13
restrict_sold_individual()
S
61 5 12
unset_aero_line_item_data_in_cart()
S
62 5 11
skip_empty_section()
S
69 5 6
save_meta_cart_data()
S
64 5 9
default_value_via_url()
S
61 4 12
best_value_via_url()
S
61 4 12
reset_session_when_order_processed()
S
55 3 21
check_valid_header_of_page()
S
65 4 9
save_wfacp_session()
S
66 4 8
find_existing_match_product()
S
63 3 11
set_save_session()
S
64 3 10
set_session_when_place_order_btn_pressed()
S
69 3 6
attach_awaiting_order_id()
S
70 3 6
hide_coupon_msg()
S
70 3 6
calculate_item_discount()
S
65 3 9
shimmer_css()
S
61 2 12
maybe_define_constant()
S
75 2 5
get_product_list()
S
71 2 6
set_session_when_coupon_applied()
S
64 2 9
get_instance()
S
72 2 6
global_script()
S
70 2 7
wfacp_changed_default_woocommerce_page()
S
68 2 7
enqueue_script()
S
66 2 8
get_page_data()
S
69 2 6
wfacp_before_add_to_cart()
S
78 1 3
wfacp_after_add_to_cart()
S
78 1 3
get_settings()
S
82 1 3
wfacp_page_is_cached()
S
71 1 6
get_product_count()
S
82 1 3
set_nocache_constants()
S
71 1 6
get_product_settings()
S
82 1 3
maybe_pass_no_cache_header()
S
74 1 5
aero_default_value_parameter()
S
79 1 3
aero_add_to_checkout_product_quantity_parameter()
S
79 1 3
aero_add_to_checkout_parameter()
S
79 1 3
split_product_individual_cart_items()
S
76 1 4
woocommerce_cart_is_empty()
S
76 1 4
reset_our_localstorage()
S
76 1 10
remove_canonical_link()
S
76 1 4
reset_session_when_coupon_removed()
S
79 1 3
aero_best_value_parameter()
S
79 1 3