WC_iZettle_Integration_Purchase_Handler C

Total Complexity 118
Dependencies 8
Dependents 0
Total lines 701
Lines of code 482
Logical lines of code 318
Comment lines 20
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
process_purchase_wc_order()
C
27
24 131
process_purchase_wc_stockchange()
A
42 14 48
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
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
53 3 21
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