WC_Gateway_Billmate_Checkout D

Total Complexity 246
Dependencies 10
Dependents 5
Total lines 1,360
Lines of code 1,086
Logical lines of code 605
Comment lines 50
Methods 29
Properties 0

Methods 29

Method Rating Maintainability Complexity Lines of code
billmate_update_address()
D
23
55 156
check_if_order_should_be_updated_or_created()
D
20
49 196
billmate_complete_order()
B
34 22 86
getCheckoutDataFromOrderId()
A
36 11 75
init_form_fields()
A
33 8 114
get_url()
A
48 12 33
updateCheckout()
A
39 8 66
__construct()
A
40 8 59
billmate_update_order()
A
45 7 43
is_available()
A
53 8 23
change_to_bco()
S
55 7 20
create_order()
S
56 6 21
initCheckout()
S
56 6 15
is_cart_items_in_stock()
S
63 6 10
billmate_checkout_cart_callback_update()
S
50 4 28
updateCheckoutFromOrderId()
S
56 4 17
get_title()
S
59 4 15
woocommerce_cart_updated()
S
62 3 11
get_fee_id()
S
67 3 8
add_billmate_incomplete_order_statuses()
S
59 2 15
create_wc_order()
S
60 2 13
add_invoice_fee_process()
S
57 1 17
add_billmate_incomplete_to_order_statuses()
S
71 2 6
billmate_update_order_comments()
S
68 2 7
woocommerce_clean()
S
70 2 6
check_ipn_response()
S
60 1 14
get_order()
S
80 1 3
get_error()
S
72 1 6
getBillmateConnection()
S
77 1 3