WC_GZD_Compatibility_WPML C

Total Complexity 107
Dependencies 1
Dependents 0
Total lines 588
Lines of code 345
Logical lines of code 202
Comment lines 109
Methods 31
Properties 6

Methods 31

Method Rating Maintainability Complexity Lines of code
setup_email_locale()
A
45 11 40
set_language()
A
49 11 31
send_order_admin_confirmation()
S
52 7 25
unregister_order_confirmation_hooks()
S
57 7 17
filter_product_delivery_times()
S
55 6 18
filter_email_section_prefix()
S
60 6 13
filter_product_country_specific_delivery_times()
S
60 6 12
load()
S
49 4 31
language_locale_filter()
S
65 5 9
switch_email_lang()
S
60 4 13
filter_product_default_delivery_time()
S
63 4 10
restore_email_locale()
S
60 3 13
filter_email_locale()
S
71 3 6
restore_language()
S
66 3 8
translate_page()
S
68 3 7
filter_page_ids()
S
60 2 14
get_email_options()
S
68 2 7
translate_email_setting()
S
64 2 9
filter_email_lang()
S
73 2 6
language_user_locale_filter()
S
71 2 6
is_activated()
S
78 2 3
unhook_terms_clause()
S
66 2 8
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
get_path()
S
81 1 3
get_emails()
S
79 1 3
register_email_options()
S
75 1 4