ES_DB_Campaigns C

Total Complexity 122
Dependencies 1
Dependents 2
Total lines 912
Lines of code 491
Logical lines of code 308
Comment lines 261
Methods 29
Properties 3

Methods 29

Method Rating Maintainability Complexity Lines of code
migrate_post_notifications()
B
35 20 75
get_list_ids()
A
49 13 30
migrate_newsletters()
A
42 9 47
update_campaign_id_in_mailing_queue()
A
51 8 25
get_campaigns_by_post_id()
A
47 7 35
update_status()
S
53 7 22
get_all_campaigns()
S
49 6 30
get_count_by_editor_type()
S
53 6 23
update_campaign_meta()
S
57 6 17
duplicate_campaign()
S
51 5 26
save_campaign()
S
59 5 14
delete_campaigns()
S
60 5 13
get_campaign_by_id()
S
58 4 16
get_campaigns_by_parent_id()
S
69 3 6
get_column_defaults()
S
53 1 25
get_columns()
S
54 1 24
get_active_campaigns()
S
65 2 9
get_campaign_meta_by_id()
S
69 2 7
get_campaign_by_parent_id()
S
65 2 9
get_campaign_categories_str_by_id()
S
75 1 4
get_total_sequences()
S
80 1 3
get_total_newsletters()
S
81 1 3
get_total_post_notifications()
S
80 1 3
get_total_campaigns_by_type()
S
70 1 6
get_total_campaigns()
S
80 1 3
get_campaign_type_by_id()
S
79 1 3
get_template_id_by_campaign()
S
79 1 3
get_total_post_digests()
S
80 1 3
__construct()
S
68 1 7