WC_Email D

Total Complexity 137
Dependencies 9
Dependents 1
Total lines 1,459
Lines of code 641
Logical lines of code 293
Comment lines 644
Methods 52
Properties 28

Methods 52

Method Rating Maintainability Complexity Lines of code
admin_options()
B
30 13 147
get_headers()
A
52 11 21
admin_actions()
A
54 11 20
save_template()
S
54 7 20
style_inline()
S
48 6 31
__construct()
S
50 4 29
format_string()
S
54 4 19
init_form_fields()
S
44 2 49
delete_template_action()
S
58 4 17
move_template_action()
S
56 4 17
get_email_type()
S
64 5 9
get_content()
S
59 4 14
get_option_or_transient()
S
61 4 12
restore_locale()
S
69 4 6
setup_locale()
S
69 4 6
handle_multipart()
S
60 3 14
get_content_type()
S
60 3 14
get_template()
S
66 3 9
process_admin_options()
S
64 3 10
clear_alt_body_field()
S
71 2 6
get_email_type_options()
S
66 2 8
send()
S
57 1 15
get_block_email_html_content()
S
69 2 7
get_preheader()
S
67 2 7
get_subject()
S
67 2 7
get_must_use_css_styles()
S
66 1 13
get_block_editor_email_template_content()
S
64 1 11
is_enabled()
S
77 1 3
get_bcc_field()
S
64 1 10
get_default_subject()
S
82 1 3
get_default_heading()
S
82 1 3
get_default_additional_content()
S
82 1 3
get_additional_content()
S
77 1 3
get_theme_template_file()
S
77 1 3
get_heading()
S
76 1 3
get_recipient()
S
68 1 6
get_cc_recipient()
S
66 1 7
get_bcc_recipient()
S
66 1 7
get_attachments()
S
78 1 3
get_cc_field()
S
64 1 10
is_manual()
S
82 1 3
set_object()
S
81 1 3
get_from_address()
S
74 1 4
get_from_name()
S
74 1 4
get_content_html()
S
82 1 3
get_content_plain()
S
82 1 3
supports_emogrifier()
S
80 1 3
get_title()
S
79 1 3
get_description()
S
79 1 3
get_option()
S
74 1 4
is_customer_email()
S
82 1 3
get_blogname()
S
79 1 3