WCML_Bookings D

Total Complexity 438
Dependencies 17
Dependents 2
Total lines 2,739
Lines of code 1,874
Logical lines of code 905
Comment lines 182
Methods 110
Properties 6

Methods 110

Method Rating Maintainability Complexity Lines of code
echo_wcml_price_field()
C
29 21 137
filter_wc_booking_cost()
C
34 22 92
add_hooks()
B
26
7 208
save_custom_costs()
A
48 16 29
duplicate_booking_for_translations()
A
39 13 60
filter_bundled_product_in_cart_contents()
A
45 12 37
custom_box_html_data()
A
48 12 30
wcml_products_tab_sync_resources_and_persons()
A
39 9 73
custom_box_html()
A
43 10 47
save_person_translation()
A
46 10 37
sync_persons()
A
47 10 32
save_resource_translation()
A
43 8 51
filter_pricing_cost()
A
49 9 31
add_to_cart_sold_individually()
A
58 8 16
load_assets()
S
57 8 14
sync_resources()
S
48 6 36
sync_resource_costs()
S
54 7 20
booking_filters_query()
S
49 6 31
create_booking_page_client_currency()
S
61 8 10
update_booking_resource_cost()
S
54 6 21
update_booking_pricing()
S
54 6 20
filter_my_account_bookings_tables_by_current_language()
S
56 6 18
after_bookings_pricing()
S
56 6 14
booking_currency_dropdown()
S
47 4 44
needs_filter_pricing_cost()
S
60 6 12
delete_bookings()
S
54 5 22
update_booking_costs()
S
55 5 19
update_booking_resource_block_cost()
S
56 5 18
append_resources_to_translation_package()
S
57 5 16
get_translated_booking_persons_ids()
S
58 5 15
sync_bookings()
S
58 5 14
update_booking_person_cost()
S
60 5 13
update_booking_person_block_cost()
S
60 5 13
translate_email_strings()
S
59 5 13
set_booking_currency()
S
60 5 12
append_persons_to_translation_package()
S
53 4 22
translate_emails_text_strings()
S
54 4 21
get_order_language()
S
55 4 19
filter_booking_currency_symbol()
S
63 5 9
clear_transient_fields()
S
64 5 10
trash_bookings()
S
59 4 15
booking_email_language()
S
64 5 9
filter_translatable_documents()
S
65 5 9
sync_booking_status()
S
62 4 11
sync_resource_costs_with_translations()
S
55 3 23
duplicate_person()
S
54 3 22
duplicate_resource()
S
54 3 21
prevent_events_on_duplicates()
S
63 4 10
extra_conditions_to_filter_bookings()
S
68 4 6
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
update_status_for_translations()
S
57 2 17
is_booking()
S
69 3 6
bookings_in_date_range_query()
S
63 3 10
maybe_set_booking_language()
S
65 3 9
set_booking_currency_ajax()
S
63 3 9
filter_is_translated_post_type()
S
67 3 7
sync_booking_data()
S
63 3 10
count_bookings_by_current_language()
S
60 2 12
email_class_exists()
S
78 2 3
translate_booking_cancelled_admin_email_texts()
S
73 2 5
translate_booking_reminder_email_texts()
S
73 2 5
get_admin_user_email_language()
S
68 2 7
filter_get_booking_resources_args()
S
68 2 7
translate_booking_cancelled_email_texts()
S
73 2 5
translate_booking_confirmed_email_texts()
S
73 2 5
is_bookings_listing_page()
S
78 2 3
translate_new_booking_email_texts()
S
65 2 8
product_content_resource_label()
S
71 2 6
is_delete_all_action()
S
78 2 3
get_cookie_booking_currency()
S
67 2 8
show_custom_blocks_for_resources_and_persons()
S
70 2 6
wcml_price_field_after_booking_block_cost()
S
68 2 7
get_booking_cost()
S
65 2 9
filter_get_booking_products_args()
S
71 2 6
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
unset_mine_from_bookings_views()
S
76 1 4
wcml_price_field_after_resource_block_cost()
S
78 1 3
remove_language_switcher()
S
79 1 3
translate_notification()
S
81 1 3
wcml_price_field_after_display_cost()
S
80 1 3
wcml_price_field_after_booking_pricing_base_cost()
S
79 1 3
get_booking_order()
S
80 1 3
wcml_price_field_after_booking_pricing_cost()
S
79 1 3
save_booking_data_to_translation()
S
75 1 4
wcml_price_field_after_person_cost()
S
79 1 3
wcml_price_field_after_person_block_cost()
S
79 1 3
wcml_price_field_after_resource_cost()
S
78 1 3
wcml_price_field_after_booking_base_cost()
S
80 1 3
emails_text_keys_to_translate()
S
74 1 5
update_translated_booking_meta()
S
71 1 5
remove_resource_from_product()
S
66 1 9
get_translated_bookings()
S
79 1 3
emails_options_to_translate()
S
68 1 8
wc_bookings_process_cost_rules_cost()
S
78 1 3
wc_bookings_process_cost_rules_base_cost()
S
78 1 3
wc_bookings_process_cost_rules_override_block_cost()
S
78 1 3
localize_lock_fields_js()
S
78 1 3
hide_bookings_type_on_tm_dashboard()
S
76 1 4
wcml_multi_currency_is_ajax()
S
77 1 4
set_order_currency_on_create_booking_page()
S
75 1 4
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
__construct()
S
67 1 8