WCML_Bookings D

Total Complexity 242
Dependencies 21
Dependents 0
Total lines 1,641
Lines of code 1,092
Logical lines of code 500
Comment lines 128
Methods 66
Properties 5

Methods 66

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_hooks()
A
36 4 88
add_to_cart_sold_individually()
A
58 8 16
sync_resources()
S
48 6 36
sync_resource_costs()
S
54 7 20
booking_filters_query()
S
50 6 30
maybe_sync_updated_booking_meta()
S
50 5 29
delete_bookings()
S
54 5 22
append_resources_to_translation_package()
S
57 5 16
get_translated_booking_persons_ids()
S
58 5 15
sync_bookings()
S
57 5 15
sync_booking_status()
S
60 5 13
append_persons_to_translation_package()
S
53 4 22
booking_email_language()
S
64 5 9
trash_bookings()
S
59 4 15
filter_translatable_documents()
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
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
bookings_in_date_range_query()
S
63 3 10
synchronize_bookings_on_translation_completed()
S
67 3 8
is_booking()
S
69 3 6
sync_booking_data()
S
63 3 10
maybe_set_booking_language()
S
64 3 9
filter_is_translated_post_type()
S
67 3 7
count_bookings_by_current_language()
S
60 2 12
save_booking_data_to_translation()
S
70 2 6
filter_get_booking_resources_args()
S
68 2 7
is_bookings_listing_page()
S
77 2 3
update_booking_order()
S
64 2 10
is_delete_all_action()
S
78 2 3
product_content_resource_label()
S
71 2 6
order_id_for_language()
S
71 2 6
show_custom_blocks_for_resources_and_persons()
S
70 2 6
filter_get_booking_products_args()
S
71 2 6
get_booking_cost()
S
65 2 9
update_product_resource()
S
60 1 14
show_pointer_info()
S
60 1 14
add_product_resource()
S
62 1 12
save_booking_action_handler()
S
77 1 4
update_translated_booking_meta()
S
71 1 5
remove_resource_from_product()
S
66 1 9
remove_language_switcher()
S
79 1 3
unset_mine_from_bookings_views()
S
76 1 4
set_order_language_on_create_booking_page()
S
79 1 3
localize_lock_fields_js()
S
78 1 3
get_translated_bookings()
S
79 1 3
get_original_resources()
S
75 1 4
get_original_persons()
S
74 1 4
hide_bookings_type_on_tm_dashboard()
S
76 1 4
replace_tm_editor_custom_fields_with_own_sections()
S
74 1 5
remove_single_custom_fields_to_translate()
S
77 1 4
__construct()
S
69 1 7