WCML_Emails D

Total Complexity 131
Dependencies 12
Dependents 1
Total lines 841
Lines of code 528
Logical lines of code 245
Comment lines 154
Methods 45
Properties 8

Methods 45

Method Rating Maintainability Complexity Lines of code
icl_current_string_language()
C
43 30 33
add_hooks()
A
33 7 119
new_order_admin_email()
S
47 5 37
filter_emails_strings()
S
51 4 28
get_order_language()
S
61 4 14
get_translated_order_strings()
S
62 4 11
wcml_get_translated_email_string()
S
65 4 9
get_order_id_from_email_object()
S
65 4 9
translate_woocommerce_countries()
S
64 4 9
email_header()
S
66 4 8
getEmailObject()
S
64 4 10
email_refresh_in_ajax()
S
65 4 9
backend_new_order_admin_email()
S
64 3 11
email_heading_completed()
S
56 2 19
email_heading_note()
S
58 2 17
translate_email_headings()
S
57 2 17
admin_notification()
S
58 2 16
getStringTranslationWithGettext()
S
65 3 9
comments_language()
S
69 3 7
set_locale_for_emails()
S
71 3 6
change_email_language()
S
68 2 7
getStringTranslation()
S
77 2 3
get_admin_language_by_email()
S
63 2 10
set_rest_language()
S
74 2 4
get_email_context_and_name()
S
65 2 9
getPreventDuplicatedNewOrderEmail()
S
73 2 5
get_email_translated_string()
S
65 2 8
refresh_email_lang()
S
69 2 7
add_hooks_to_restore_language_for_admin_notes()
S
61 1 13
force_translating_admin_options_in_backend()
S
64 1 11
no_stock_admin_notification()
S
79 1 3
low_stock_admin_notification()
S
79 1 3
getTranslatorFor()
S
72 1 5
refresh_email_lang_complete()
S
73 1 5
send_queued_transactional_email()
S
76 1 4
email_footer()
S
81 1 3
email_heading_processing()
S
79 1 3
customer_processing_order_heading()
S
79 1 3
customer_processing_order_subject()
S
79 1 3
email_heading_on_hold()
S
79 1 3
customer_on_hold_order_heading()
S
79 1 3
customer_on_hold_order_subject()
S
79 1 3
new_order_email_subject()
S
79 1 3
new_order_email_heading()
S
79 1 3
__construct()
S
71 1 6