WCJ_Order_Quantities D

Total Complexity 157
Dependencies 0
Dependents 0
Total lines 743
Lines of code 515
Logical lines of code 262
Comment lines 197
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
check_quantities()
C
41 25 56
check_quantities_step()
B
42 21 49
__construct()
B
39 20 58
print_message()
A
39 10 74
stop_from_seeing_checkout()
A
49 11 31
check_order_quantities()
S
54 7 20
set_quantity_input_args()
S
56 7 17
prevent_outdated_min_max()
S
58 7 14
sync_qty_input_with_add_to_cart_btn_on_loop()
S
51 5 41
single_item_cart()
S
57 6 17
get_product_quantity()
S
56 5 17
set_quantity_input_min_max_variation()
S
58 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
62 5 10
set_quantity_input_max()
S
64 4 9
check_step()
S
57 2 16
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
82 1 3