ES_Queue D

Total Complexity 160
Dependencies 8
Dependents 1
Total lines 1,173
Lines of code 682
Logical lines of code 435
Comment lines 260
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
process_campaigns()
D
27
29 146
queue_sequences()
C
32 26 98
queue_time_based_campaigns()
C
33 25 92
process_queue()
B
36 17 81
bulk_add()
A
43 12 47
delete_contact_queued_emails()
A
46 10 40
lock_cron_job()
S
54 4 22
should_unlock_cron_job()
S
57 4 17
update_email_sent_count()
S
61 4 14
clear()
S
59 3 13
unlock_cron_job()
S
61 3 13
add_campaign_to_queue()
S
51 2 27
is_cron_job_locked()
S
62 3 11
set_sending_status()
S
70 3 6
set_sent_status()
S
70 3 6
set_failed_status()
S
70 3 6
set_status_in_queue()
S
70 3 6
trigger_mailing_queue_sending()
S
74 2 5
__construct()
S
58 1 14
add_contacts_to_queue()
S
67 1 8
init()
S
67 1 7
update_email_sent_status()
S
79 1 3