WTE_Booking D

Total Complexity 153
Dependencies 10
Dependents 4
Total lines 1,431
Lines of code 1,066
Logical lines of code 461
Comment lines 175
Methods 36
Properties 2

Methods 36

Method Rating Maintainability Complexity Lines of code
payment_gateway_callback_backward_compatibility()
D
22
39 209
init_hooks()
B
31 13 124
map_payment_data_to_new_booking_structure()
B
33 13 102
payment_gateway_callback_listener()
A
38 10 85
prepare_legacy_order_metas()
A
44 8 42
booking_process()
A
44 6 47
get_callback_token_payload()
S
51 7 27
init()
S
44 5 55
prepare_billing_info()
S
42 4 59
due_payment_process()
S
49 5 30
update_payment_info()
S
51 3 26
update_order_items()
S
53 3 22
get_tokened_url()
S
56 3 18
create_payment()
S
47 1 41
check_payments()
S
57 2 17
is_booking_request()
S
77 3 3
error()
S
65 3 9
send_emails()
S
64 3 9
insert_booking()
S
54 1 23
booking_only()
S
55 1 20
is_due_payment_request()
S
77 2 3
redirect()
S
68 2 7
is_valid_nonce()
S
76 2 3
instance()
S
72 2 6
direct_bank_transfer()
S
59 1 15
get_thankyou_url()
S
64 1 11
update_billing_info()
S
75 1 4
may_be_cart_is_empty()
S
76 1 4
__construct()
S
78 1 4
update_booking()
S
78 1 3
get_cancel_url()
S
65 1 10
get_return_url()
S
78 1 3
get_notification_url()
S
65 1 10
get_success_url()
S
65 1 10
includes()
S
91 1 2
get_booking_cart()
S
82 1 3