ES_Campaign_Admin D

Total Complexity 189
Dependencies 10
Dependents 4
Total lines 1,607
Lines of code 1,300
Logical lines of code 497
Comment lines 122
Methods 36
Properties 2

Methods 36

Method Rating Maintainability Complexity Lines of code
show_campaign_form()
D
18
23 416
process_submission()
C
36 29 65
add_campaign_body_data()
A
38 13 69
schedule_campaign()
A
38 12 69
draft_campaign()
A
45 13 37
get_campaign_inline_preview_data()
A
49 13 29
save_as_template()
A
44 12 41
render_merge_tags()
A
48 10 35
get_dnd_campaign_tags()
A
35 1 136
show_merge_tags()
S
47 6 45
show_campaign_preview_options_content()
S
48 5 38
get_campaign_preview()
S
53 6 21
replace_post_notification_merge_tags_with_sample_post()
S
53 5 22
setup()
S
57 5 17
save_campaign()
S
57 5 15
add_tag_button()
S
56 3 21
render()
S
56 3 18
show_avaialable_keywords()
S
51 1 44
replace_post_digest_merge_tags_with_sample_posts()
S
61 3 12
get_campaign_type_from_url()
S
64 3 10
get_dnd_subscriber_tags()
S
56 1 21
get_post_notification_tags()
S
58 1 18
get_dnd_site_tags()
S
58 1 17
get_editor_type_from_url()
S
69 2 7
get_instance()
S
71 2 6
show_save_as_template()
S
64 1 12
get_campaign_default_subject()
S
69 1 6
get_campaign_default_content()
S
69 1 6
get_site_tags()
S
68 1 8
get_subscriber_tags()
S
67 1 9
get_campaign_tags()
S
69 1 7
set_screen()
S
81 1 3
get_campaign_id_from_url()
S
76 1 4
register_hooks()
S
63 1 10
init()
S
82 1 3
__construct()
S
82 1 3