WCJ_Order_Quantities D

Total Complexity 166
Dependencies 1
Dependents 0
Total lines 761
Lines of code 512
Logical lines of code 260
Comment lines 212
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
check_quantities()
C
39 31 56
check_quantities_step()
B
42 22 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
get_product_quantity()
S
56 7 17
set_quantity_input_args()
S
56 7 17
sync_qty_input_with_add_to_cart_btn_on_loop()
S
51 5 41
single_item_cart()
S
57 6 17
set_quantity_input_step()
S
61 7 10
set_quantity_input_min_max_variation()
S
58 5 15
set_quantity_input_min()
S
60 5 12
prevent_outdated_min_max()
S
61 5 11
set_quantity_input_max_cart_item()
S
53 4 22
enqueue_script()
S
54 4 20
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