ES_Campaign_Controller D

Total Complexity 152
Dependencies 10
Dependents 4
Total lines 793
Lines of code 563
Logical lines of code 374
Comment lines 85
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
add_post_notification_data()
B
43 17 44
add_campaign_body_data()
A
38 13 69
prepare_campaign_data()
A
49 14 28
schedule()
A
41 10 58
send_test_email()
A
43 9 50
save()
A
53 8 21
save_campaign()
S
52 7 24
is_open_tracking_enabled()
S
53 7 23
get_email_headers()
S
52 7 22
replace_post_notification_merge_tags_with_sample_post()
S
51 6 26
add_broadcast_scheduler_data()
S
55 6 18
save_and_schedule()
S
57 5 17
save_and_preview()
S
58 5 15
get_spam_score()
S
50 4 28
replace_post_digest_merge_tags_with_sample_posts()
S
57 4 17
maybe_send_mailing_queue()
S
58 4 15
activate()
S
59 4 14
get_posts_block_preview()
S
63 4 10
add_tracking_fields_data()
S
66 3 8
is_using_new_category_format()
S
66 3 8
toggle_status()
S
65 2 9
get_instance()
S
71 2 6
register_hooks()
S
64 2 9
queue_emails()
S
64 2 10
__construct()
S
82 1 3
add_to_new_category_format_campaign_ids()
S
72 1 5
init()
S
82 1 3
is_post_campaign()
S
78 1 3