WCJ_Product_Add_To_Cart B

Total Complexity 94
Dependencies 0
Dependents 0
Total lines 468
Lines of code 276
Logical lines of code 141
Comment lines 137
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
__construct()
C
34 26 81
add_to_cart_on_visit()
B
41 21 50
change_add_to_cart_message_html()
A
50 9 23
maybe_redirect_to_url()
A
53 9 22
manage_add_to_cart_ajax()
S
66 5 7
enqueue_disable_quantity_add_to_cart_script()
S
65 5 8
replace_external_with_custom_add_to_cart_on_single_end()
S
62 3 11
replace_external_with_custom_add_to_cart_in_loop()
S
62 3 11
add_variations_radio_buttons_template()
S
56 2 19
custom_add_to_cart_loop_url()
S
68 3 7
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
77 1 3