Push_Notification_Admin D

Total Complexity 254
Dependencies 3
Dependents 0
Total lines 1,439
Lines of code 1,310
Logical lines of code 608
Comment lines 117
Methods 41
Properties 0

Methods 41

Method Rating Maintainability Complexity Lines of code
shownotificationData()
D
18
30 284
pn_send_notification()
D
32 31 91
pn_get_compaigns()
C
27
26 146
pn_order_send_notification()
B
35 19 75
settings_init()
A
31 6 150
admin_interface_render()
A
43 12 48
send_notification_on_update()
A
53 10 21
pn_key_validate_status_callback()
A
46 9 34
pn_subscribe_newsletter()
A
48 9 30
pn_verify_user()
A
52 9 22
send_notification()
A
46 8 37
pn_revoke_keys()
A
51 8 27
pn_select_specific_categories_callback()
A
51 8 23
init()
S
49 7 26
pn_refresh_api_key()
S
52 6 23
pn_subscribers_data()
S
55 6 19
load_admin_scripts()
S
49 5 28
pn_get_layout_files()
S
53 5 23
json_settings()
S
53 5 21
pn_key_segment_on_categories_callback()
S
58 5 16
admin_notices_opt()
S
60 4 13
pn_utm_tracking_callback()
S
51 3 27
add_menu_links()
S
55 2 20
pn_key_posttype_select_callback()
S
67 3 7
mobile_notification_preview()
S
57 1 25
pn_key_segment_select_callback()
S
64 2 10
user_settings_notification_icon_callback()
S
79 1 3
add_sw_js_content()
S
68 1 7
add_pn_config()
S
73 1 6
add_pn_use_sw()
S
78 1 4
add_sw_register_template()
S
74 1 5
pn_key_banner_message_callback()
S
80 1 3
user_settings_onpublish_callback()
S
79 1 3
pn_key_banner_accept_btn_callback()
S
80 1 3
pn_key_position_select_callback()
S
64 1 9
user_notification_order_change_callback()
S
70 1 5
pn_key_popupshowafternpageview_callback()
S
74 1 4
pn_key_popupshowafternseconds_callback()
S
74 1 4
pn_key_popupshowagain_callback()
S
74 1 4
pn_key_banner_decline_btn_callback()
S
80 1 3
__construct()
S
98 1 1