WC_iZettle_Integration_Purchase_Handler D

Total Complexity 135
Dependencies 8
Dependents 0
Total lines 764
Lines of code 523
Logical lines of code 342
Comment lines 18
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
process_purchase_wc_order()
D
24
34 160
process_purchase_wc_stockchange()
A
44 14 42
sync_iz_purchases_action()
A
42 13 52
schedule_sync_izettle_purchases()
A
46 13 38
process_purchase_fortnox()
A
46 11 37
process_purchase_wc_refund()
A
44 7 41
change_stock_level_fortnox()
S
53 6 21
process_incoming_purchase()
S
58 6 15
process_purchase_wc_order_update()
S
59 6 14
add_purchase_to_queue()
S
61 4 12
get_product_item_discount()
S
62 4 11
set_order_customer_data()
S
52 3 23
__construct()
S
52 3 22
type_text()
S
80 2 3
dispatch_purchases()
S
82 1 3
document_changes()
S
73 1 4
remove_processed()
S
69 1 6
sync_iz_purchases_filter()
S
80 1 3
process_purchase_wc_stockchange_reverse()
S
80 1 3
get_tax_amount()
S
74 1 4
calc_tax_inc_tax()
S
77 1 3
calc_tax_ex_tax()
S
78 1 3
return_true()
S
82 1 3