ES_DB_Campaigns D

Total Complexity 174
Dependencies 1
Dependents 3
Total lines 1,134
Lines of code 672
Logical lines of code 429
Comment lines 288
Methods 32
Properties 3

Methods 32

Method Rating Maintainability Complexity Lines of code
get_campaigns_by_post_id()
D
29 33 120
migrate_post_notifications()
B
35 20 75
get_lists()
B
38 16 65
get_list_ids()
A
47 13 34
migrate_newsletters()
A
42 9 47
get_campaigns()
A
48 9 30
update_campaign_id_in_mailing_queue()
A
51 8 25
delete_campaigns()
A
55 8 18
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
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
delete_report_data()
S
67 2 7
get_campaign_by_parent_id()
S
65 2 9
get_campaign_meta_by_id()
S
69 2 7
get_posts_by_type()
S
61 1 11
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_total_post_digests()
S
80 1 3
get_template_id_by_campaign()
S
79 1 3
__construct()
S
68 1 7