WC_iZettle_Integration_Purchase_Handler D

Total Complexity 175
Dependencies 7
Dependents 0
Total lines 982
Lines of code 662
Logical lines of code 437
Comment lines 18
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
process_purchase_wc_order()
D
18
50 222
process_purchase_wc_stockchange()
B
39 19 57
sync_iz_purchases_action()
A
44 11 43
process_purchase_fortnox()
A
46 11 36
process_purchase_wc_refund()
A
42 10 45
schedule_sync_izettle_purchases()
A
48 10 32
woosb_get_bundled()
A
46 9 36
process_comment()
S
51 7 27
change_stock_level_fortnox()
S
53 6 21
get_comment_order_id()
S
57 6 17
process_incoming_purchase()
S
58 6 15
process_purchase_wc_order_update()
S
59 6 13
get_product_item_discount()
S
62 4 11
set_order_customer_data()
S
52 3 23
__construct()
S
55 2 18
payment_complete_reduce_order_stock()
S
65 3 9
add_purchase_to_queue()
S
65 3 8
type_text()
S
80 2 3
sync_iz_purchases_filter()
S
80 1 3
calc_tax_ex_tax()
S
78 1 3
get_tax_amount()
S
74 1 4
process_purchase_wc_stockchange_reverse()
S
80 1 3
remove_processed()
S
69 1 6
document_changes()
S
73 1 4
calc_tax_inc_tax()
S
77 1 3