WC_GZD_Emails D

Total Complexity 223
Dependencies 4
Dependents 1
Total lines 1,525
Lines of code 825
Logical lines of code 374
Comment lines 476
Methods 59
Properties 4

Methods 59

Method Rating Maintainability Complexity Lines of code
email_notices()
B
44 18 39
__construct()
A
35 8 106
attach_product_warranties()
A
49 13 29
set_order_email_filters()
A
46 12 36
restore_confirmation_email_sending()
A
45 8 56
maybe_set_gettext_email_filter()
A
58 10 12
attach_page_content()
A
49 7 32
maybe_prevent_order_paid_email_notification()
S
53 7 22
confirm_order()
S
56 7 18
hook_mail_footer()
S
59 7 13
send_manual_order_confirmation()
S
61 7 12
add_bcc_email_headers()
S
59 6 13
get_email_plain_content()
S
53 5 21
pay_for_order_request_needs_confirmation()
S
60 5 13
trigger_order_confirmation_emails()
S
61 5 11
replace_title_email_text()
S
55 4 18
replace_processing_email_text()
S
58 4 16
maybe_prevent_queued_confirmation_email_sending()
S
64 5 10
get_processing_email_text()
S
58 4 14
get_email_instance_by_id()
S
62 4 12
prevent_confirmation_email_sending()
S
54 3 27
maybe_hide_username_password_reset()
S
62 4 11
email_hooks()
S
52 3 25
maybe_set_gettext_username_filter()
S
57 3 18
maybe_disable_order_paid_email_notification_queued()
S
66 4 8
add_template_footers()
S
63 3 11
remove_order_email_filters()
S
57 2 16
confirmation_text_option()
S
58 2 16
maybe_hide_username_new_account()
S
67 3 7
email_footer_plain()
S
68 3 7
email_pay_now_button()
S
70 3 6
maybe_set_current_email_instance()
S
69 3 6
check_for_partial_refund_mail()
S
71 3 6
save_confirmation_text_option()
S
66 3 8
init_bcc_field()
S
61 2 12
maybe_prevent_confirmation_email_sending()
S
75 2 5
after_order_shutdown()
S
74 2 5
small_business_notice()
S
75 2 5
resend_order_emails()
S
68 2 8
set_woocommerce_template_dir()
S
71 2 6
maybe_restore_confirmation_email_sending()
S
75 2 5
disable_pay_order_confirmation()
S
70 2 6
set_mailer()
S
70 2 7
set_footer_attachments()
S
68 2 7
styles()
S
66 1 14
get_confirmation_email_transaction_statuses()
S
64 1 12
admin_hooks()
S
64 1 11
prevent_html_url_auto_link()
S
74 1 4
get_current_email_object()
S
81 1 3
register_custom_email_actions()
S
68 1 9
register_order_confirmation_email_action()
S
77 1 4
reset_email_instance()
S
73 1 5
register_confirmation_fallback()
S
79 1 3
is_order_confirmation_email()
S
78 1 3
get_gateways_disabling_paid_for_order_mail()
S
79 1 3
get_current_email_instance()
S
79 1 3
send_order_confirmation_mails()
S
77 1 4
maybe_disable_order_paid_email_notification()
S
81 1 3
revocation_form_replacement()
S
76 1 3