WCJ_Order_Quantities D

Total Complexity 146
Dependencies 0
Dependents 0
Total lines 630
Lines of code 455
Logical lines of code 229
Comment lines 148
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
check_quantities()
C
41 25 53
check_quantities_step()
B
43 21 48
__construct()
B
40 19 54
stop_from_seeing_checkout()
A
49 11 31
print_message()
A
41 9 61
check_order_quantities()
S
54 7 20
set_quantity_input_args()
S
56 7 16
sync_qty_input_with_add_to_cart_btn_on_loop()
S
51 5 41
single_item_cart()
S
60 6 12
get_product_quantity()
S
57 5 15
set_quantity_input_min_max_variation()
S
58 5 15
enqueue_script()
S
54 4 20
set_quantity_input_step()
S
64 5 8
set_quantity_input_min()
S
64 4 9
set_quantity_input_max()
S
64 4 9
check_step()
S
57 2 16
prevent_outdated_min_max()
S
64 3 10
handle_wc_loop_add_to_cart_args()
S
75 1 4
replace_quantity_attribute_on_loop_cart_link()
S
68 1 6
float_stock_amount()
S
76 1 4
float_quantity_input_pattern()
S
83 1 3