ES_Campaign_Admin D

Total Complexity 177
Dependencies 10
Dependents 2
Total lines 1,311
Lines of code 980
Logical lines of code 471
Comment lines 147
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
show_campaign_form()
D
20
21 354
process_submission()
B
39 24 55
schedule_campaign()
A
39 12 67
draft_campaign()
A
45 13 37
get_campaign_inline_preview_data()
A
49 13 29
save_as_template()
A
44 12 41
add_campaign_body_data()
A
42 11 53
is_open_tracking_enabled()
S
53 7 23
get_campaign_preview()
S
53 6 21
add_broadcast_scheduler_data()
S
55 6 18
replace_post_notification_merge_tags_with_sample_post()
S
53 5 22
save_campaign()
S
57 5 15
show_new_keyword_notice()
S
50 4 28
show_campaign_preview_options_content()
S
51 3 32
add_post_notification_data()
S
62 5 10
setup_campaign()
S
59 4 15
render()
S
56 3 18
show_avaialable_keywords()
S
51 1 44
replace_post_digest_merge_tags_with_sample_posts()
S
61 3 12
register_hooks()
S
55 2 18
get_campaign_type_from_url()
S
64 3 10
add_tracking_fields_data()
S
66 3 8
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_content()
S
69 1 6
get_campaign_default_subject()
S
69 1 6
set_screen()
S
81 1 3
get_campaign_id_from_url()
S
76 1 4
init()
S
82 1 3
__construct()
S
82 1 3