ESHB_Booking D

Total Complexity 461
Dependencies 21
Dependents 3
Total lines 2,363
Lines of code 1,577
Logical lines of code 1,014
Comment lines 194
Methods 32
Properties 1

Methods 32

Method Rating Maintainability Complexity Lines of code
add_to_cart_reservation()
D
4
119 334
send_reservation_request()
D
13
78 239
send_booking_email_notification_for_booking_status()
C
32 26 89
calculate_booking_pricing()
C
30 24 114
save_custom_meta_to_order()
B
39 23 68
get_accomodation_available_capacity_counts()
B
38 21 64
get_booked_dates()
B
36 18 76
get_available_room_count_by_date_range()
B
37 18 69
update_woocommerce_order_status_on_booking_status_change()
B
47 17 33
create_booking_on_checkout()
A
33 12 101
apply_custom_price_to_cart_item()
A
50 16 25
get_holiday_dates()
A
48 13 29
get_extra_services_charge()
A
49 11 28
update_booking_status_on_woocommerce_order_status_change()
A
53 8 21
get_booking_prices()
S
51 7 24
display_custom_meta_in_cart_and_order()
S
51 6 28
get_holiday_dates_in_date_ranges()
S
54 6 19
get_accomodation_available_extra_bed_counts()
S
58 6 13
save_booking_request()
S
47 3 38
get_actual_booked_dates_in_date_ranges()
S
54 4 22
get_available_rooms_counts_data()
S
53 4 22
unset_specific_order_item_meta_data()
S
55 3 22
filter_status_based_on_booking_meta()
S
63 4 10
__construct()
S
49 2 29
send_email_woocommerce_style()
S
62 2 11
hide_meta_from_display()
S
59 1 17
instance()
S
72 2 6
disable_eshb_cache_from_cacheplugin()
S
72 2 6
add_currency_redirect()
S
64 2 10
eshb_update_order_meta_before_thankyou_page()
S
91 1 2
update_product_price_by_id()
S
73 1 5
capture_payment_after_checkout()
S
81 1 3