ES_DB_Campaigns D

Total Complexity 153
Dependencies 1
Dependents 2
Total lines 1,034
Lines of code 593
Logical lines of code 373
Comment lines 287
Methods 30
Properties 3

Methods 30

Method Rating Maintainability Complexity Lines of code
get_campaigns_by_post_id()
D
29 33 120
migrate_post_notifications()
B
35 20 75
get_list_ids()
A
47 13 34
migrate_newsletters()
A
42 9 47
get_campaigns()
A
48 9 28
update_campaign_id_in_mailing_queue()
A
51 8 25
get_count_by_editor_type()
S
52 7 24
update_status()
S
52 7 23
update_campaign_meta()
S
57 6 17
duplicate_campaign()
S
50 5 28
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_campaign_meta_by_id()
S
69 2 7
get_campaign_by_parent_id()
S
65 2 9
get_active_campaigns()
S
65 2 9
get_posts_by_type()
S
61 1 11
get_total_post_digests()
S
80 1 3
__construct()
S
68 1 7
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_campaign_categories_str_by_id()
S
75 1 4