ES_Mailer D

Total Complexity 226
Dependencies 13
Dependents 1
Total lines 1,941
Lines of code 961
Logical lines of code 623
Comment lines 603
Methods 56
Properties 11

Methods 56

Method Rating Maintainability Complexity Lines of code
send()
D
16
65 237
build_message()
A
37 12 72
replace_links()
A
42 12 52
add_links_variables()
A
42 9 52
limits_exceeded()
A
50 9 28
send_cron_admin_email()
A
51 8 25
replace_merge_tags()
S
39 4 66
get_list_unsubscribe_header()
S
53 6 22
get_phpmailer()
S
51 5 26
send_add_new_contact_notification_to_admins()
S
57 5 17
send_test_email()
S
57 5 17
get_total_emails_send_now()
S
58 5 16
prepare_content()
S
58 4 14
replace_admin_notification_merge_tags()
S
62 4 10
set_pre_header_text()
S
63 4 10
get_unsubscribe_text()
S
60 3 14
get_tracking_pixel()
S
62 3 12
get_contact_merge_tags()
S
62 3 11
send_double_optin_email()
S
62 3 11
convert_to_text()
S
53 2 22
unsubscribe_headers_enabled()
S
67 3 7
get_tracking_pixel_url()
S
66 3 8
can_track_open()
S
63 3 10
prepare_link()
S
63 3 10
get_test_email_content()
S
55 1 24
replace_global_tags()
S
56 1 18
get_max_email_send_at_once_count()
S
68 2 7
can_send_welcome_email()
S
68 2 7
can_send_cron_admin_email()
S
69 2 7
get_current_mailer_slug()
S
71 2 5
get_current_mailer_class()
S
67 2 8
get_confirmation_email_subject()
S
68 2 7
can_send_add_new_contact_notification()
S
68 2 7
get_from_name()
S
70 2 6
get_from_email()
S
69 2 6
can_track_clicks()
S
68 2 7
set_mailer()
S
66 2 9
get_current_mailer_name()
S
73 1 5
get_subscribe_link()
S
75 1 4
get_unsubscribe_link()
S
75 1 4
switch_to_default_mailer()
S
81 1 3
__construct()
S
82 1 3
can_track_utm()
S
75 1 4
get_link_variable()
S
68 1 7
prepare_subject()
S
82 1 3
get_test_email_subject()
S
78 1 3
get_welcome_email_content()
S
78 1 3
get_welcome_email_subject()
S
79 1 3
send_welcome_email()
S
66 1 8
get_admin_emails()
S
75 1 4
get_cron_admin_email_content()
S
79 1 3
get_cron_admin_email_subject()
S
78 1 3
get_confirmation_email_content()
S
78 1 3
get_admin_new_contact_email_content()
S
78 1 3
get_admin_new_contact_email_subject()
S
79 1 3
get_current_mailer_account_url()
S
73 1 5