ES_Mailer D

Total Complexity 202
Dependencies 11
Dependents 1
Total lines 1,811
Lines of code 869
Logical lines of code 571
Comment lines 571
Methods 50
Properties 10

Methods 50

Method Rating Maintainability Complexity Lines of code
send()
D
20
54 206
build_message()
A
38 11 68
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
get_total_emails_send_now()
A
53 8 22
get_phpmailer()
S
53 5 23
send_test_email()
S
57 5 17
send_add_new_contact_notification_to_admins()
S
57 5 17
get_contact_merge_tags()
S
57 3 17
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
replace_merge_tags()
S
45 1 42
prepare_content()
S
60 3 12
send_double_optin_email()
S
62 3 11
convert_to_text()
S
53 2 22
__construct()
S
64 3 9
unsubscribe_headers_enabled()
S
67 3 7
prepare_link()
S
63 3 10
can_track_open()
S
63 3 10
get_tracking_pixel_url()
S
66 3 8
get_list_unsubscribe_header()
S
60 2 14
get_test_email_content()
S
55 1 24
replace_global_tags()
S
57 1 16
can_send_welcome_email()
S
68 2 7
get_confirmation_email_subject()
S
68 2 7
get_max_email_send_at_once_count()
S
68 2 7
get_from_name()
S
70 2 6
get_from_email()
S
69 2 6
can_send_cron_admin_email()
S
69 2 7
send_welcome_email()
S
63 2 10
can_send_add_new_contact_notification()
S
68 2 7
get_test_email_subject()
S
78 1 3
get_admin_new_contact_email_subject()
S
79 1 3
get_admin_new_contact_email_content()
S
78 1 3
get_subscribe_link()
S
75 1 4
get_unsubscribe_link()
S
75 1 4
prepare_subject()
S
82 1 3
get_welcome_email_subject()
S
79 1 3
can_track_clicks()
S
74 1 4
get_welcome_email_content()
S
78 1 3
get_link_variable()
S
68 1 7
get_confirmation_email_content()
S
78 1 3
get_admin_emails()
S
75 1 4
get_cron_admin_email_subject()
S
78 1 3
get_cron_admin_email_content()
S
79 1 3
can_track_utm()
S
75 1 4