WCML_Bookings D

Total Complexity 247
Dependencies 25
Dependents 0
Total lines 1,726
Lines of code 1,111
Logical lines of code 533
Comment lines 174
Methods 68
Properties 5

Methods 68

Method Rating Maintainability Complexity Lines of code
filter_bundled_product_in_cart_contents()
A
45 12 37
custom_box_html_data()
A
48 12 29
wcml_products_tab_sync_resources_and_persons()
A
39 9 72
duplicate_booking_for_translations()
A
41 10 53
custom_box_html()
A
43 10 47
sync_persons()
A
47 10 33
save_person_translation()
A
47 9 35
save_resource_translation()
A
43 7 49
add_to_cart_sold_individually()
A
58 8 16
add_hooks()
S
38 4 73
fix_bookings_filter_time_slots_when_product_not_translated()
S
47 6 38
sync_resources()
S
48 6 36
sync_resource_costs()
S
54 7 20
maybe_sync_updated_booking_meta()
S
50 5 29
delete_bookings()
S
54 5 22
bookings_in_date_range_query()
S
57 5 16
append_resources_to_translation_package()
S
57 5 16
sync_bookings()
S
57 5 15
get_translated_booking_persons_ids()
S
58 5 15
sync_booking_status()
S
60 5 13
append_persons_to_translation_package()
S
53 4 22
trash_bookings()
S
59 4 15
booking_email_language()
S
64 5 9
sync_resource_costs_with_translations()
S
55 3 23
duplicate_person()
S
54 3 22
duplicate_resource()
S
54 3 21
update_status_for_translations()
S
55 3 19
extra_conditions_to_filter_bookings()
S
68 4 6
prevent_events_on_duplicates()
S
63 4 10
sync_customer_created_during_checkout()
S
66 4 9
get_translated_booking_product_id()
S
62 3 11
get_translated_booking_resource_id()
S
62 3 11
wcml_js_lock_fields_ids()
S
51 1 33
sync_booking_data()
S
63 3 10
filter_translatable_documents()
S
69 3 6
filter_is_translated_post_type()
S
67 3 7
maybe_set_booking_language()
S
65 3 9
is_booking()
S
69 3 6
synchronize_bookings_on_translation_completed()
S
66 3 8
count_bookings_by_current_language()
S
60 2 12
show_pointer_info()
S
53 1 25
order_id_for_language()
S
72 2 6
get_booking_cost()
S
65 2 9
filter_get_booking_products_args()
S
71 2 6
show_custom_blocks_for_resources_and_persons()
S
70 2 6
product_content_resource_label()
S
71 2 6
is_delete_all_action()
S
78 2 3
filter_get_booking_resources_args()
S
68 2 7
is_bookings_listing_page()
S
77 2 3
save_booking_data_to_translation()
S
70 2 6
update_booking_order()
S
64 2 10
update_product_resource()
S
60 1 14
add_product_resource()
S
62 1 12
__construct()
S
69 1 7
save_booking_action_handler()
S
77 1 4
update_translated_booking_meta()
S
71 1 5
remove_resource_from_product()
S
66 1 9
localize_lock_fields_js()
S
78 1 3
set_order_language_on_create_booking_page()
S
79 1 3
get_original_resources()
S
75 1 4
get_original_persons()
S
74 1 4
replace_tm_editor_custom_fields_with_own_sections()
S
74 1 5
remove_single_custom_fields_to_translate()
S
77 1 4
get_translated_bookings()
S
79 1 3
hide_bookings_type_on_tm_dashboard()
S
76 1 4
unset_mine_from_bookings_views()
S
76 1 4
remove_language_switcher()
S
79 1 3
isWcBooking()
S
78 1 3