ES_Mailer D

Total Complexity 220
Dependencies 12
Dependents 1
Total lines 1,917
Lines of code 944
Logical lines of code 611
Comment lines 596
Methods 55
Properties 10

Methods 55

Method Rating Maintainability Complexity Lines of code
send()
D
18
60 224
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
get_total_emails_send_now()
S
54 7 22
get_list_unsubscribe_header()
S
53 6 22
replace_merge_tags()
S
40 3 63
get_phpmailer()
S
51 5 26
send_add_new_contact_notification_to_admins()
S
57 5 17
send_test_email()
S
57 5 17
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
send_double_optin_email()
S
62 3 11
get_contact_merge_tags()
S
62 3 11
convert_to_text()
S
53 2 22
get_tracking_pixel_url()
S
66 3 8
can_track_open()
S
63 3 10
unsubscribe_headers_enabled()
S
67 3 7
prepare_link()
S
63 3 10
get_test_email_content()
S
55 1 24
replace_global_tags()
S
56 1 18
get_from_name()
S
70 2 6
get_from_email()
S
69 2 6
set_mailer()
S
68 2 8
get_confirmation_email_subject()
S
68 2 7
get_current_mailer_slug()
S
71 2 5
can_send_add_new_contact_notification()
S
68 2 7
can_send_welcome_email()
S
68 2 7
get_max_email_send_at_once_count()
S
68 2 7
get_current_mailer_class()
S
67 2 8
can_send_cron_admin_email()
S
69 2 7
get_current_mailer_name()
S
73 1 5
get_unsubscribe_link()
S
75 1 4
get_subscribe_link()
S
75 1 4
__construct()
S
82 1 3
can_track_utm()
S
75 1 4
can_track_clicks()
S
74 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