OneSignal_Admin D

Total Complexity 137
Dependencies 4
Dependents 0
Total lines 950
Lines of code 691
Logical lines of code 324
Comment lines 107
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
send_notification_on_wp_post()
D
18
62 208
onesignal_notif_on_post_html_view()
A
37 9 91
save_config_page()
A
34 7 102
on_save_post()
A
48 10 36
on_transition_post_status()
A
54 10 22
init()
S
43 4 56
admin_custom_load()
S
51 4 34
add_onesignal_post_options()
S
45 2 48
exec_post_request()
S
62 5 10
uuid()
S
57 4 15
saveStringSettings()
S
64 4 10
get_sending_rate_limit_wait_time()
S
64 3 10
saveBooleanSettings()
S
65 3 9
was_post_restored_from_trash()
S
78 2 3
save_config_settings_form()
S
70 2 6
add_admin_page()
S
62 1 12
update_last_sent_timestamp()
S
79 1 3
admin_custom_scripts()
S
65 1 8
admin_menu()
S
79 1 3
admin_styles()
S
77 1 3
__construct()
S
91 1 2