CampaignWidget B

Total Complexity 98
Dependencies 2
Dependents 1
Total lines 790
Lines of code 582
Logical lines of code 276
Comment lines 79
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
email_campaign_widget_display_meta_box()
C
27
15 201
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
get_apikey()
S
68 2 7
was_post_restored_from_trash()
S
79 2 3
make_request()
S
62 1 12
__construct()
S
98 1 1
get_webpush_info_from_cs()
S
72 1 5
get_email_senders()
S
73 1 5
get_email_html_template()
S
66 1 8