WC_GZD_Emails D

Total Complexity 225
Dependencies 4
Dependents 1
Total lines 1,534
Lines of code 816
Logical lines of code 383
Comment lines 488
Methods 61
Properties 4

Methods 61

Method Rating Maintainability Complexity Lines of code
email_notices()
B
44 18 39
__construct()
A
34 12 101
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
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
maybe_prevent_queued_confirmation_email_sending()
S
63 6 10
pay_for_order_request_needs_confirmation()
S
60 5 13
trigger_order_confirmation_emails()
S
61 5 11
maybe_disable_order_paid_email()
S
61 5 11
replace_title_email_text()
S
55 4 18
replace_processing_email_text()
S
58 4 16
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
add_template_footers()
S
63 3 11
confirmation_text_option()
S
58 2 16
remove_order_email_filters()
S
57 2 16
email_footer_plain()
S
68 3 7
maybe_set_current_email_instance()
S
69 3 6
email_pay_now_button()
S
70 3 6
save_confirmation_text_option()
S
66 3 8
check_for_partial_refund_mail()
S
71 3 6
maybe_hide_username_new_account()
S
67 3 7
init_bcc_field()
S
61 2 12
set_mailer()
S
70 2 7
maybe_prevent_confirmation_email_sending()
S
75 2 5
maybe_restore_confirmation_email_sending()
S
75 2 5
small_business_notice()
S
75 2 5
set_footer_attachments()
S
68 2 7
resend_order_emails()
S
68 2 8
set_woocommerce_template_dir()
S
71 2 6
disable_pay_order_confirmation()
S
70 2 6
after_order_shutdown()
S
74 2 5
styles()
S
66 1 14
get_confirmation_email_transaction_statuses()
S
64 1 12
admin_hooks()
S
64 1 11
checkout_block_no_payment_context_confirmation_callback()
S
72 1 5
register_confirmation_fallback()
S
79 1 3
get_current_email_object()
S
81 1 3
get_gateways_disabling_paid_for_order_mail()
S
79 1 3
is_order_confirmation_email()
S
78 1 3
send_order_confirmation_mails()
S
77 1 4
register_custom_email_actions()
S
68 1 9
prevent_html_url_auto_link()
S
74 1 4
maybe_disable_order_paid_email_notification()
S
76 1 4
maybe_disable_order_paid_email_notification_queued()
S
76 1 4
get_current_email_instance()
S
79 1 3
checkout_block_payment_context_confirmation_callback()
S
72 1 5
reset_email_instance()
S
73 1 5
register_order_confirmation_email_action()
S
77 1 4
revocation_form_replacement()
S
76 1 3