CampaignWidget B

Total Complexity 95
Dependencies 1
Dependents 1
Total lines 732
Lines of code 518
Logical lines of code 268
Comment lines 77
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
email_campaign_widget_display_meta_box()
B
30 13 162
create_email_campaign()
A
37 12 72
default_meta_data()
A
47 13 40
create_webpush_campaign()
A
44 9 44
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
58 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
59 2 14
send_webpush_campaign()
S
59 2 14
was_post_restored_from_trash()
S
79 2 3
get_apikey()
S
70 2 6
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