WECMF_General_Template D

Total Complexity 148
Dependencies 8
Dependents 1
Total lines 1,140
Lines of code 726
Logical lines of code 412
Comment lines 335
Methods 66
Properties 4

Methods 66

Method Rating Maintainability Complexity Lines of code
ot_shortcodes()
B
46 19 31
save_template_content()
A
50 13 26
prepare_preview()
A
40 8 59
thwecmf_email_hooks()
A
48 9 40
create_inline_styles()
A
56 8 17
order_table_additional_td_css()
S
53 5 25
check_nonce()
S
64 6 8
preview_template()
S
56 4 16
downloadable_product_table()
S
48 1 61
order_table_items()
S
53 2 35
get_test_mail_message()
S
66 4 7
wecmf_get_customer_note()
S
58 2 18
insert_dynamic_data()
S
49 1 31
thwecmf_preview_email_type()
S
67 3 7
save_template_file()
S
63 3 10
get_from_address()
S
72 3 5
hide_premium_banner()
S
59 2 14
billing_data()
S
65 2 11
replace_thwecmf_placeholder_data()
S
55 1 19
prepare_template_meta_data()
S
66 2 8
customer_data()
S
72 2 5
add_order_foot()
S
73 2 6
add_order_head()
S
67 2 9
instance()
S
72 2 6
send_test_mail()
S
59 1 14
order_table_item_loop_end()
S
67 1 12
prepare_email_content_wrapper()
S
61 1 12
replace_woocommerce_hooks_contents()
S
60 1 12
get_order_table_head()
S
67 1 12
order_table_total_loop_start()
S
68 1 11
order_table_before_hook()
S
77 1 4
no_recipient()
S
82 1 3
order_table_before_loop()
S
77 1 4
order_table_after_loop()
S
77 1 4
order_table_items_qty()
S
77 1 4
order_table_header_product()
S
77 1 4
order_table_header_qty()
S
77 1 4
order_table_header_price()
S
77 1 4
order_table_class_filter()
S
77 1 4
order_table_items_price()
S
77 1 4
order_table_total_values()
S
77 1 4
order_table_total_labels()
S
77 1 4
order_table_item_loop_start()
S
70 1 9
__construct()
S
65 1 9
shipping_data()
S
77 1 4
get_content_type()
S
82 1 3
init_constants()
S
74 1 4
render_page()
S
77 1 4
render_content()
S
78 1 4
reset_preview()
S
82 1 3
save_settings()
S
72 1 5
save_template_files()
S
64 1 9
prepare_template_test_mail()
S
73 1 5
get_from_name()
S
80 1 3
get_th_shortcode_atts_regex()
S
82 1 3
wecmf_get_order_id()
S
72 1 6
setup_test_mail_variables()
S
69 1 6
prepare_settings()
S
70 1 6
wecmf_get_customer_name()
S
68 1 8
wecmf_get_site_name()
S
77 1 4
wecmf_get_account_area_url()
S
77 1 4
wecmf_get_user_pass()
S
72 1 6
wecmf_get_reset_password_url()
S
70 1 7
wecmf_get_customer_full_name()
S
68 1 8
wecmf_get_order_created_date()
S
72 1 6
wecmf_get_user_login()
S
72 1 6