WC_iZettle_Stocklevel_Handler D

Total Complexity 128
Dependencies 5
Dependents 1
Total lines 670
Lines of code 436
Logical lines of code 286
Comment lines 30
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
update_stocklevel_in_izettle()
B
34 21 88
received_inventory_balance_changed()
B
37 22 69
change_stocklevel_in_woocommerce()
B
39 22 56
on_stock_change_from_zettle()
A
46 12 33
change_manage_stock()
S
52 7 24
product_set_stock()
S
60 5 13
__construct()
S
53 4 20
format_stock_for_display()
S
58 4 15
get_variant_stocklevel()
S
65 4 9
get_stock_html()
S
52 2 27
stock_locations()
S
62 3 11
get_availability_class()
S
63 3 11
received_inventory_balance_changed_add()
S
63 3 9
received_inventory_tracking_started_add()
S
63 3 9
received_inventory_tracking_stopped_add()
S
63 3 9
set_manage_stock_to()
S
65 3 8
get_availiable_quantity()
S
69 2 7
get_availability_text()
S
66 2 8
is_in_stock()
S
75 1 4
received_inventory_tracking_started()
S
80 1 3
received_inventory_tracking_stopped()
S
80 1 3