WC_GZD_Compatibility_WPML C

Total Complexity 124
Dependencies 2
Dependents 0
Total lines 709
Lines of code 430
Logical lines of code 228
Comment lines 142
Methods 35
Properties 5

Methods 35

Method Rating Maintainability Complexity Lines of code
setup_email_locale()
A
45 12 38
set_language()
A
48 11 34
send_order_admin_confirmation()
A
49 7 36
unregister_order_confirmation_hooks()
S
57 7 17
filter_product_delivery_times()
S
55 6 18
maybe_restore_order_meta_language()
S
59 6 15
load()
S
45 4 44
filter_email_section_prefix()
S
60 6 13
filter_product_country_specific_delivery_times()
S
60 6 12
filter_product_default_delivery_time()
S
61 5 12
maybe_switch_order_meta_language()
S
56 4 19
language_locale_filter()
S
65 5 9
maybe_filter_wpml_order_items_language()
S
63 5 9
filter_product_nutrient_value_term()
S
63 4 10
translate_email_setting()
S
61 3 12
filter_page_ids()
S
59 2 15
restore_email_locale()
S
68 3 7
restore_language()
S
66 3 8
translate_page()
S
68 3 7
force_admin_option_translation()
S
56 1 23
unhook_terms_clause()
S
66 2 8
filter_email_lang()
S
73 2 6
language_user_locale_filter()
S
71 2 6
get_email_options()
S
68 2 7
is_activated()
S
77 2 3
rehook_terms_clause()
S
66 2 8
get_name()
S
81 1 3
set_order_admin_confirmation()
S
82 1 3
set_language_field()
S
81 1 3
before_show_product_unit_price()
S
82 1 3
reload_locale()
S
66 1 9
register_email_options()
S
75 1 4
get_path()
S
81 1 3
switch_lang()
S
81 1 3
get_emails()
S
79 1 3