WCJ_Order_Quantities D

Total Complexity 153
Dependencies 0
Dependents 0
Total lines 673
Lines of code 487
Logical lines of code 250
Comment lines 155
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
check_quantities()
C
41 25 53
check_quantities_step()
B
43 21 48
__construct()
B
39 20 58
print_message()
A
40 10 64
stop_from_seeing_checkout()
A
49 11 31
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
set_quantity_input_min_max_variation()
S
58 5 15
get_product_quantity()
S
57 5 15
set_quantity_input_min()
S
60 5 12
set_quantity_input_max_cart_item()
S
53 4 22
enqueue_script()
S
54 4 20
set_quantity_input_step()
S
64 5 8
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