ESHB_Helper D

Total Complexity 150
Dependencies 3
Dependents 15
Total lines 833
Lines of code 601
Logical lines of code 363
Comment lines 59
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
eshb_capture_payment()
C
30 22 116
eshb_assign_payment_to_booking()
B
37 20 69
eshb_set_accomodation_localize()
B
36 19 73
get_available_times_by_date()
A
39 15 59
eshb_calculate_time_diff()
A
48 16 29
eshb_insert_booking()
A
46 8 38
get_main_post_id_for_translated()
S
62 6 10
get_or_create_woocommerce_product()
S
56 4 17
get_product_id_for_cart()
S
61 4 11
eshb_get_payment_ids()
S
56 3 18
get_current_booking_metadata()
S
63 4 10
get_current_payment_customer_metadata()
S
65 4 8
get_current_booking_customer_metadata()
S
62 3 11
eshb_nonce_field()
S
56 2 18
eshb_get_booking_ids()
S
58 2 16
get_total_price_from_order_meta()
S
64 3 10
eshb_get_wc_state_city_name()
S
63 3 10
eshb_get_extra_services()
S
63 2 11
get_clean_number()
S
71 2 6
eshb_get_booking_statuses()
S
60 1 13
eshb_get_payment_statuses()
S
62 1 12
generate_secure_nonce_action()
S
75 1 4
update_product_price_by_id()
S
72 1 5
eshb_get_payment_gateways()
S
69 1 7
get_eshb_default_start_end_date()
S
64 1 10
get_eshb_default_start_end_time()
S
71 1 6
format_to_wp_time()
S
74 1 4