Code Analysis: Push Notification 1.30

Function Rating Maintainability Complexity Lines of code
Push_Notification_Admin::shownotificationData()
D
22
27 231
Push_Notification_Admin::pn_send_notification()
C
33 28 88
Push_Notification_Admin::pn_get_compaigns()
C
29
25 132
Push_Notification_Frontend::pwaforwp_notification_confirm_banner()
B
31 13 156
Push_Notification_Frontend::init()
B
40 19 53
Push_Notification_Admin::pn_order_send_notification()
B
37 16 68
PN_Field_Generator::get_multi_input_checkbox()
A
45 13 39
Push_Notification_Frontend::check_browser_type()
A
55 14 15
Push_Notification_Admin::settings_init()
A
33 4 139
Push_Notification_Admin::admin_interface_render()
A
43 10 47
Push_Notification_Admin::send_notification()
A
43 10 44
Push_Notification_Admin::send_notification_on_update()
A
52 11 25
Push_Notification_Frontend::json_settings()
A
46 10 36
PN_Ultimate_Member::send_notification_to_user()
A
43 9 46
pn_send_query_message()
A
45 9 39
push_notification_on_activate()
A
56 10 16
Push_Notification_Admin::pn_subscribe_newsletter()
A
48 9 30
Push_Notification_Admin::pn_verify_user()
A
52 9 22
Push_Notification_Frontend::pn_register_subscribers()
A
49 8 28
pn_send_feedback()
A
50 8 27
PN_Server_Request::getProStatus()
A
56 8 18
Push_Notification_Admin::init()
S
49 7 27
Push_Notification_Admin::pn_key_validate_status_callback()
S
50 7 24
Push_Notification_Admin::pn_refresh_api_key()
S
52 6 23
Push_Notification_Admin::pn_subscribers_data()
S
54 6 19
Push_Notification_Frontend::page_include()
S
66 7 7
Push_Notification_Newsletter::add_localize_footer_data()
S
51 5 24
Push_Notification_Frontend::pn_get_layout_files()
S
53 5 23
Push_Notification_Admin::pn_get_layout_files()
S
53 5 23
Push_Notification_Frontend::header_content()
S
54 5 22
Push_Notification_Frontend::load_service_worker()
S
55 5 21
Push_Notification_Admin::json_settings()
S
53 5 21
Push_Notification_Admin::pn_key_segment_on_categories_callback()
S
54 5 21
push_notification_older_version_compatibility()
S
62 6 10
push_notification_initialize()
S
58 5 15
Push_Notification_Frontend::page_redirect()
S
63 6 10
PN_Field_Generator::get_input_multi_select()
S
57 5 15
PN_Field_Generator::get_input_select()
S
57 5 15
Push_Notification_Admin::pn_revoke_keys()
S
57 5 15
Push_Notification_Admin::pn_send_notification_on_category()
S
58 5 15
Push_Notification_Frontend::pn_noteclick_subscribers()
S
58 5 14
PN_Field_Generator::get_input_checkbox()
S
59 5 13
push_notification_pro_notifyform_before()
S
51 3 30
Push_Notification_Frontend::store_user_registered_tokens()
S
62 5 10
Push_Notification_Admin::admin_notices_opt()
S
60 4 13
pn_add_deactivation_feedback_modal()
S
61 4 12
Push_Notification_Admin::pn_utm_tracking_callback()
S
51 3 27
Push_Notification_Admin::load_admin_scripts()
S
51 3 24
PN_Server_Request::sendPushNotificatioDataNew()
S
53 3 24
PN_Server_Request::varifyUser()
S
54 3 20
PN_Server_Request::getsubscribersData()
S
55 3 18
push_notification_settings()
S
50 2 29
PN_Server_Request::sendRequest()
S
59 3 14
push_notification_pro_checker()
S
63 3 11
Push_Notification_Frontend::header_button_css()
S
57 1 36
PN_Server_Request::registerSubscribers()
S
54 2 21
PN_Server_Request::sendPushNotificatioData()
S
55 2 19
Push_Notification_Frontend::update_autoptimize_exclude()
S
65 3 9
PN_Field_Generator::get_input()
S
72 3 4
PN_Field_Generator::get_input_category()
S
72 3 4
Push_Notification_Frontend::get_the_user_ip()
S
64 3 10
PN_Field_Generator::get_input_password()
S
72 3 4
pn_enqueue_makebetter_email_js()
S
67 3 7
push_notification_frontend_class()
S
69 3 6
Push_Notification_Frontend::amp_entry_gate()
S
60 2 12
PN_Server_Request::getCompaignsData()
S
61 2 12
Push_Notification_Admin::add_menu_links()
S
60 1 15
push_notification_after_activation_redirect()
S
71 2 6
Push_Notification_Frontend::rest_permission()
S
69 2 6
Push_Notification_Frontend::register_manifest_rest_route()
S
62 1 13
Push_Notification_Frontend::enqueue_pn_scripts()
S
61 1 12
Push_Notification_Frontend::manifest_add_homescreen()
S
78 1 3
PN_Server_Request::__construct()
S
98 1 1
Push_Notification_Admin::pn_key_popupshowafternpageview_callback()
S
71 1 5
Push_Notification_Admin::pn_key_position_select_callback()
S
63 1 10
push_notification_feature_notice()
S
72 1 5
push_notification_details_settings()
S
76 1 4
Push_Notification_Admin::__construct()
S
98 1 1
Push_Notification_Admin::add_pn_config()
S
73 1 6
PN_Field_Generator::get_button()
S
70 1 6
Push_Notification_Frontend::superpwa_add_pn_swcode()
S
68 1 7
Push_Notification_Frontend::get_manifest()
S
77 1 4
Push_Notification_Frontend::sw_template_query_var()
S
68 1 8
Push_Notification_Frontend::pwaforwp_enqueue_pn_scripts()
S
64 1 9
Push_Notification_Admin::send_notification_on_cotegories()
S
77 1 4
pn_is_plugins_page()
S
77 1 4
Push_Notification_Admin::pn_key_banner_message_callback()
S
75 1 4
Push_Notification_Admin::user_settings_onpublish_callback()
S
75 1 4
Push_Notification_Admin::add_sw_register_template()
S
74 1 5
push_notification_auth_settings()
S
76 1 4
Push_Notification_Admin::add_pn_use_sw()
S
78 1 4
PN_Server_Request::sendPushNotificatioClickData()
S
69 1 6
Push_Notification_Frontend::amp_header_button_css()
S
69 1 7
Push_Notification_Admin::pn_key_posttype_select_callback()
S
69 1 6
Push_Notification_Newsletter::__construct()
S
78 1 3
Push_Notification_Frontend::__construct()
S
82 1 3
PN_Ultimate_Member::__construct()
S
98 1 1
Push_Notification_Frontend::urls_https()
S
79 1 3
Push_Notification_Admin::pn_key_popupshowagain_callback()
S
74 1 4
Push_Notification_Admin::user_notification_order_change_callback()
S
68 1 6
Push_Notification_Frontend::manifest_add_gcm_id()
S
76 1 4
Push_Notification_Admin::pn_key_segment_select_callback()
S
66 1 8
Push_Notification_Admin::pn_key_banner_accept_btn_callback()
S
75 1 4
Push_Notification_Admin::user_settings_notification_icon_callback()
S
79 1 3
Push_Notification_Admin::add_sw_js_content()
S
68 1 7
pn_serpage_name()
S
78 1 4
push_notification_add_action_links()
S
69 1 6
Push_Notification_Admin::pn_key_popupshowafternseconds_callback()
S
71 1 5
PN_Ultimate_Member::init()
S
78 1 3
Push_Notification_Frontend::superpwa_enqueue_pn_scripts()
S
62 1 10
Push_Notification_Admin::pn_key_banner_decline_btn_callback()
S
75 1 4