ESHB_Booking D

Total Complexity 529
Dependencies 21
Dependents 3
Total lines 2,600
Lines of code 1,771
Logical lines of code 1,139
Comment lines 198
Methods 33
Properties 1

Methods 33

Method Rating Maintainability Complexity Lines of code
add_to_cart_reservation()
D
0
140 385
send_reservation_request()
D
10
90 265
calculate_booking_pricing()
D
28
29 124
send_booking_email_notification_for_booking_status()
C
32 26 89
get_available_room_count_by_date_range()
C
33 26 87
save_custom_meta_to_order()
C
36 26 77
get_booked_dates()
B
34 21 86
get_accomodation_available_capacity_counts()
B
38 22 67
create_booking_on_checkout()
B
32 12 109
update_woocommerce_order_status_on_booking_status_change()
B
47 17 33
apply_custom_price_to_cart_item()
A
50 16 25
get_holiday_dates()
A
48 13 29
display_custom_meta_in_cart_and_order()
A
42 11 54
get_extra_services_charge()
A
49 11 28
get_available_rooms_counts_data()
A
49 9 27
update_booking_status_on_woocommerce_order_status_change()
A
53 8 21
get_booking_prices()
S
50 7 26
get_holiday_dates_in_date_ranges()
S
54 6 19
get_accomodation_available_extra_bed_counts()
S
58 6 13
get_time_slots_data()
S
55 5 18
save_booking_request()
S
47 3 38
get_actual_booked_dates_in_date_ranges()
S
54 4 22
unset_specific_order_item_meta_data()
S
53 3 25
__construct()
S
48 2 31
filter_status_based_on_booking_meta()
S
63 4 10
send_email_woocommerce_style()
S
62 2 11
hide_meta_from_display()
S
57 1 20
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