HTL_Reservation D

Total Complexity 239
Dependencies 2
Dependents 3
Total lines 1,687
Lines of code 848
Logical lines of code 396
Comment lines 550
Methods 94
Properties 6

Methods 94

Method Rating Maintainability Complexity Lines of code
add_item()
B
41 19 49
update_status()
B
40 16 53
get_reservation_totals()
A
41 15 57
get_totals_before_booking()
A
44 9 49
can_be_charged()
A
56 9 18
can_be_captured()
A
56 9 18
get_formatted_guest_address()
A
53 8 24
get_formatted_line_total()
A
55 8 18
can_be_refunded()
A
57 8 17
expand_item_meta()
S
53 5 23
payment_complete()
S
52 5 23
__construct()
S
59 4 15
get_booking_payment_url()
S
60 4 12
has_status()
S
75 4 3
needs_payment()
S
64 4 9
can_be_cancelled()
S
64 4 10
update_table_status()
S
57 2 19
add_reservation_note()
S
55 2 18
get_formatted_arrival_time()
S
63 3 9
update_guest_special_requests()
S
64 3 10
get_reservation()
S
65 3 10
has_room_with_deposit()
S
64 3 10
get_booking_received_url()
S
65 3 8
get_cancel_endpoint()
S
64 3 10
send_request()
S
66 3 9
get_items()
S
60 2 12
update_last_modified()
S
57 1 20
update_table_reservation_dates()
S
58 1 18
__get()
S
66 2 8
set_payment_method()
S
70 2 6
set_address()
S
72 2 5
get_address()
S
58 1 15
get_status()
S
73 2 4
get_room_from_item()
S
66 2 8
get_remain_deposit_charge_date()
S
76 2 4
get_remain_deposit_charge()
S
74 2 4
get_balance_due()
S
73 2 4
get_formatted_balance_due()
S
65 2 8
has_tax()
S
79 2 3
charge_remain_deposit()
S
66 2 8
email_reservation_items_table()
S
65 2 9
requires_capture()
S
74 2 4
get_reservation_number()
S
79 1 3
set_booking_method()
S
79 1 3
get_payment_method()
S
79 1 3
get_payment_method_title()
S
79 1 3
get_formatted_guest_full_name()
S
79 1 3
set_arrival_time()
S
79 1 3
get_arrival_time()
S
78 1 3
get_guest_special_requests()
S
75 1 4
populate()
S
71 1 6
get_transaction_id()
S
79 1 3
get_item_meta()
S
78 1 3
has_meta()
S
70 1 6
remove_reservation_items()
S
69 1 6
get_item_deposit()
S
73 1 4
set_total()
S
75 1 4
get_total()
S
78 1 3
get_formatted_total()
S
74 1 4
mark_as_paid()
S
72 1 5
mark_as_unpaid()
S
72 1 5
is_marked_as_paid()
S
79 1 3
set_deposit()
S
75 1 4
get_deposit()
S
78 1 3
get_formatted_deposit()
S
74 1 4
set_paid_deposit()
S
75 1 4
get_paid_deposit()
S
78 1 3
get_formatted_paid_deposit()
S
74 1 4
set_remain_deposit_charge()
S
72 1 5
get_formatted_remain_deposit_charge()
S
74 1 4
set_subtotal()
S
75 1 4
get_subtotal()
S
78 1 3
get_formatted_subtotal()
S
74 1 4
set_tax_total()
S
75 1 4
get_tax_total()
S
78 1 3
get_formatted_tax_total()
S
74 1 4
get_nights()
S
69 1 6
set_checkin()
S
79 1 3
get_checkin()
S
79 1 3
get_formatted_checkin()
S
74 1 4
set_checkout()
S
79 1 3
get_checkout()
S
79 1 3
get_formatted_checkout()
S
74 1 4
set_discount_total()
S
75 1 4
get_discount_total()
S
78 1 3
get_formatted_discount_total()
S
73 1 4
set_coupon_id()
S
75 1 4
get_coupon_id()
S
78 1 3
set_coupon_code()
S
75 1 4
get_coupon_code()
S
79 1 3
get_reservation_currency()
S
79 1 3
get_booking_cancel_url()
S
64 1 9
get_booking_cancel_url_raw()
S
63 1 10
cancel_reservation()
S
75 1 4