WC_iZettle_Stocklevel_Handler B

Total Complexity 79
Dependencies 5
Dependents 1
Total lines 432
Lines of code 270
Logical lines of code 174
Comment lines 26
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
received_inventory_balance_changed()
B
41 16 51
change_stocklevel_in_woocommerce()
A
44 16 41
update_stocklevel_in_izettle()
A
38 13 69
change_manage_stock()
S
55 6 20
product_set_stock()
S
60 5 13
get_variant_stocklevel()
S
65 4 9
stock_locations()
S
62 3 11
__construct()
S
57 2 15
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