WCJ_Product_Add_To_Cart B

Total Complexity 90
Dependencies 0
Dependents 0
Total lines 410
Lines of code 249
Logical lines of code 126
Comment lines 124
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
__construct()
C
34 26 81
add_to_cart_on_visit()
B
47 17 32
change_add_to_cart_message_html()
A
50 9 23
maybe_redirect_to_url()
A
53 9 22
manage_add_to_cart_ajax()
S
68 5 6
enqueue_disable_quantity_add_to_cart_script()
S
65 5 8
replace_external_with_custom_add_to_cart_in_loop()
S
62 3 11
replace_external_with_custom_add_to_cart_on_single_end()
S
65 3 9
custom_add_to_cart_loop_url()
S
69 3 6
add_variations_radio_buttons_template()
S
59 2 14
add_to_cart_variable_replace_loop_w_single()
S
68 2 8
replace_external_with_custom_add_to_cart_on_single_start()
S
72 2 6
reposition_add_to_cart_button_loop()
S
68 1 8
reposition_add_to_cart_button_single()
S
68 1 8
add_to_cart_replace_loop_w_single()
S
75 1 4
enqueue_variable_add_to_cart_scripts()
S
78 1 3