Cartflows_Ca_Email_Templates C

Total Complexity 114
Dependencies 3
Dependents 1
Total lines 1,136
Lines of code 876
Logical lines of code 324
Comment lines 143
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
render_email_template_form()
D
13
59 357
sanitize_email_post_data()
A
40 9 68
show_messages()
A
45 6 58
update_email_toggle_button()
S
51 6 25
clone_email_template()
S
46 5 39
load_email_templates_script()
S
40 3 58
delete_single_template()
S
54 4 20
edit_email_template()
S
45 2 43
add_email_template()
S
46 2 41
restore_email_templates()
S
57 3 16
update_email_template_meta()
S
58 2 18
define_template_constants()
S
61 1 26
show_add_new_template_button()
S
56 1 20
show_email_template_data_table()
S
59 1 16
get_instance()
S
71 2 6
delete_bulk_templates()
S
62 1 12
add_email_template_meta()
S
64 1 11
__construct()
S
64 1 9
get_email_template_meta_by_key()
S
70 1 6
get_email_template_by_id()
S
70 1 6
fetch_all_active_templates()
S
68 1 7
get_template_by_id()
S
68 1 7
get_email_history_by_id()
S
68 1 7