WFACP_Public D

Total Complexity 272
Dependencies 9
Dependents 1
Total lines 1,236
Lines of code 878
Logical lines of code 563
Comment lines 114
Methods 59
Properties 23

Methods 59

Method Rating Maintainability Complexity Lines of code
push_product_to_cart()
D
29 31 120
add_to_cart()
C
35 29 79
add_to_cart_via_url()
B
36 17 76
get_analytics_data()
A
47 9 33
remove_shipping_method()
A
54 9 20
merge_default_product()
A
51 8 25
modify_calculate_price_per_session()
A
47 7 34
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
42 4 53
calculate_totals()
S
56 6 18
woocommerce_get_checkout_url()
S
59 6 14
is_native_checkout()
S
61 6 13
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
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
check_valid_header_of_page()
S
65 4 9
save_wfacp_session()
S
66 4 8
find_existing_match_product()
S
63 3 11
hide_coupon_msg()
S
70 3 6
set_session_when_place_order_btn_pressed()
S
69 3 6
set_save_session()
S
64 3 10
get_instance()
S
72 2 6
get_page_data()
S
69 2 6
maybe_define_constant()
S
75 2 5
global_script()
S
70 2 7
set_session_when_coupon_applied()
S
64 2 9
enqueue_script()
S
66 2 8
wfacp_changed_default_woocommerce_page()
S
70 2 6
get_product_list()
S
71 2 6
reset_session_when_order_processed()
S
60 1 14
wfacp_before_add_to_cart()
S
78 1 3
add_to_cart_action()
S
74 1 5
get_product_count()
S
82 1 3
wfacp_page_is_cached()
S
71 1 6
aero_best_value_parameter()
S
79 1 3
wfacp_after_add_to_cart()
S
78 1 3
split_product_individual_cart_items()
S
76 1 4
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
get_settings()
S
82 1 3
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
get_product_settings()
S
82 1 3
maybe_pass_no_cache_header()
S
74 1 5
set_nocache_constants()
S
71 1 6