WC_iZettle_Stocklevel_Handler C

Total Complexity 112
Dependencies 5
Dependents 1
Total lines 563
Lines of code 361
Logical lines of code 245
Comment lines 27
Methods 15
Properties 1

Methods 15

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
get_variant_stocklevel()
S
65 4 9
stock_locations()
S
62 3 11
__construct()
S
56 2 17
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
received_inventory_tracking_started()
S
80 1 3
received_inventory_tracking_stopped()
S
80 1 3