CampaignWidget B

Total Complexity 95
Dependencies 1
Dependents 1
Total lines 780
Lines of code 573
Logical lines of code 269
Comment lines 79
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
email_campaign_widget_display_meta_box()
B
28
13 197
create_email_campaign()
A
36 12 78
default_meta_data()
A
47 13 40
create_webpush_campaign()
A
42 9 51
get_webpush_info()
S
52 7 24
on_transition_post_status()
S
58 7 17
create_campaign()
S
61 7 11
save_email_content()
S
57 3 18
save_webpush_content()
S
57 3 17
on_save_post()
S
64 4 10
send_campaign()
S
61 3 13
email_campaign_widget_meta_box()
S
52 2 27
send_email_campaign()
S
57 2 17
send_webpush_campaign()
S
57 2 17
was_post_restored_from_trash()
S
79 2 3
get_apikey()
S
68 2 7
make_request()
S
62 1 12
__construct()
S
98 1 1
get_email_senders()
S
73 1 5
get_email_html_template()
S
66 1 8