Code Analysis: Push Notification 1.35

Function Rating Maintainability Complexity Lines of code
Push_Notification_Admin::shownotificationData()
D
18
31 295
Push_Notification_Frontend::pn_notification_confirm_banner()
D
24
38 185
Push_Notification_Admin::pn_send_notification()
D
27
41 126
Push_Notification_Admin::pn_get_compaigns()
C
27
26 146
Push_Notification_Admin::settings_init()
B
25
9 234
Push_Notification_Admin::pn_order_send_notification()
B
35 19 75
Push_Notification_Frontend::init()
B
39 19 55
Push_Notification_Helper::pn_expanded_allowed_tags()
A
26
1 245
Push_Notification_Frontend::json_settings()
A
43 13 43
Push_Notification_Frontend::pn_add_url_token()
A
45 13 38
Push_Notification_Admin::admin_interface_render()
A
43 12 48
PN_Ultimate_Member::pn_um_groups_notify_new_post()
A
38 11 63
Push_Notification_Frontend::check_browser_type()
A
55 14 15
PN_Ultimate_Member::pn_um_notification_activity_post_published()
A
39 11 58
push_notification_on_activate()
A
49 13 27
PnMetaBox::pn_save_fields()
A
48 12 31
PN_Ultimate_Member::pn_um_notification_messaging()
A
40 10 58
push_notification_pro_notifyform_before()
A
39 9 62
pn_send_query_message()
A
44 10 43
pn_send_feedback()
A
48 10 32
Push_Notification_Admin::send_notification_on_update()
A
53 10 21
Push_Notification_Admin::pn_key_validate_status_callback()
A
46 9 34
Push_Notification_Admin::pn_subscribe_newsletter()
A
48 9 30
Push_Notification_Frontend::pn_register_subscribers()
A
49 9 29
Push_Notification_Admin::pn_verify_user()
A
52 9 22
PnMetaBox::pn_field_generator()
A
47 8 37
Push_Notification_Admin::send_notification()
A
46 8 37
pn_send_push_notificatioin_filter()
A
49 8 29
push_notification_category()
A
51 8 28
Push_Notification_Admin::pn_revoke_keys()
A
51 8 27
Push_Notification_Admin::pn_select_specific_categories_callback()
A
51 8 23
PN_Server_Request::getProStatus()
A
56 8 18
Push_Notification_Admin::init()
S
49 7 26
push_notification_on_install()
S
50 6 28
Push_Notification_Admin::pn_refresh_api_key()
S
52 6 23
Push_Notification_Admin::pn_subscribers_data()
S
55 6 19
Push_Notification_Frontend::store_user_registered_tokens()
S
55 6 18
PN_Field_Generator::get_input_multi_select()
S
56 6 17
pn_select2_category_data()
S
58 6 15
Push_Notification_Frontend::page_include()
S
66 7 7
Push_Notification_Admin::load_admin_scripts()
S
48 5 30
PN_Server_Request::sendRequest()
S
51 5 25
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
PN_Field_Generator::get_input()
S
56 5 19
PnMetaBox::pn_add_meta_boxes()
S
56 5 18
Push_Notification_Admin::pn_key_segment_on_categories_callback()
S
58 5 16
push_notification_initialize()
S
57 5 16
PN_Field_Generator::get_input_select()
S
57 5 15
Push_Notification_Frontend::page_redirect()
S
63 6 10
push_notification_older_version_compatibility()
S
62 6 10
Push_Notification_Frontend::pn_noteclick_subscribers()
S
58 5 14
PN_Field_Generator::get_input_checkbox()
S
59 5 13
pn_is_plugins_page()
S
63 5 11
pn_plugin_upgrade_function()
S
66 5 8
pn_enqueue_makebetter_email_js()
S
65 5 7
Push_Notification_Admin::admin_notices_opt()
S
60 4 13
PN_Server_Request::sendPushNotificatioDataNew()
S
51 3 27
Push_Notification_Admin::pn_utm_tracking_callback()
S
51 3 27
pn_add_deactivation_feedback_modal()
S
62 4 11
pn_get_all_unique_meta()
S
55 3 22
push_notification_settings()
S
47 2 36
PN_Server_Request::varifyUser()
S
54 3 20
PN_Server_Request::getsubscribersData()
S
54 3 20
PN_Field_Generator::get_input_textarea()
S
66 4 7
Push_Notification_Frontend::enqueue_pn_scripts()
S
59 3 13
push_notification_pro_checker()
S
63 3 11
pn_get_page_title_by_url()
S
63 3 11
Push_Notification_Frontend::superpwa_enqueue_pn_scripts()
S
60 3 11
PN_Server_Request::registerSubscribers()
S
54 2 21
Push_Notification_Frontend::header_button_css()
S
57 1 36
Push_Notification_Admin::add_menu_links()
S
55 2 20
PN_Server_Request::sendPushNotificatioData()
S
55 2 19
push_notification_frontend_class()
S
69 3 6
PN_Field_Generator::get_input_color()
S
70 3 5
Push_Notification_Frontend::update_autoptimize_exclude()
S
65 3 9
PN_Field_Generator::get_input_number()
S
70 3 5
PN_Field_Generator::get_input_category()
S
72 3 4
PN_Field_Generator::get_input_password()
S
72 3 4
Push_Notification_Frontend::get_the_user_ip()
S
64 3 10
Push_Notification_Frontend::manifest_add_gcm_id()
S
70 3 6
Push_Notification_Admin::pn_key_posttype_select_callback()
S
67 3 7
PN_Server_Request::inactivateWebsite()
S
61 2 12
Push_Notification_Frontend::amp_entry_gate()
S
60 2 12
PN_Server_Request::getCompaignsData()
S
61 2 12
Push_Notification_Admin::mobile_notification_preview()
S
57 1 25
Push_Notification_Admin::user_notification_order_change_callback()
S
63 2 9
Push_Notification_Admin::pn_key_segment_select_callback()
S
64 2 10
Push_Notification_Frontend::pn_token_exists()
S
64 2 10
Push_Notification_Frontend::rest_permission()
S
69 2 6
Push_Notification_Frontend::register_manifest_rest_route()
S
62 1 13
push_notification_add_action_links()
S
69 1 6
Push_Notification_Admin::user_notification_um_title()
S
74 1 4
Push_Notification_Admin::pn_key_popup_display_settings_bg_callback()
S
79 1 3
pn_get_tokens_by_url()
S
70 1 6
Push_Notification_Admin::user_settings_onpublish_callback()
S
79 1 3
PnMetaBox::pn_meta_box_callback()
S
76 1 4
Push_Notification_Newsletter::__construct()
S
78 1 3
Push_Notification_Admin::pn_key_banner_message_callback()
S
80 1 3
pn_serpage_name()
S
78 1 4
Push_Notification_Frontend::amp_header_button_css()
S
69 1 7
PnMetaBox::pn_format_rows()
S
80 1 3
Push_Notification_Admin::pn_key_popup_display_settings_ok_callback()
S
79 1 3
Push_Notification_Admin::user_settings_notification_icon_callback()
S
79 1 3
PN_Field_Generator::get_button()
S
70 1 6
Push_Notification_Admin::add_pn_config()
S
73 1 6
Push_Notification_Admin::pn_key_banner_accept_btn_callback()
S
80 1 3
push_notification_feature_notice()
S
72 1 5
Push_Notification_Admin::user_settings_notification_pop_up_icon_callback()
S
79 1 3
Push_Notification_Admin::pn_key_popup_display_settings_no_thanks_callback()
S
79 1 3
Push_Notification_Admin::pn_key_banner_decline_btn_callback()
S
80 1 3
PN_Ultimate_Member::__construct()
S
98 1 1
Push_Notification_Admin::pn_key_url_capture_select_callback()
S
66 1 8
Push_Notification_Frontend::pn_manifest_config()
S
67 1 8
Push_Notification_Admin::add_pn_use_sw()
S
78 1 4
Push_Notification_Frontend::get_manifest()
S
77 1 4
Push_Notification_Frontend::sw_template_query_var()
S
68 1 8
Push_Notification_Admin::pn_key_position_select_callback()
S
64 1 9
Push_Notification_Admin::pn_key_popup_display_settings_text_callback()
S
79 1 3
PN_Server_Request::sendPushNotificatioClickData()
S
69 1 6
Push_Notification_Frontend::after_login_transient()
S
72 1 5
Push_Notification_Frontend::urls_https()
S
79 1 3
push_notification_details_settings()
S
76 1 4
Push_Notification_Admin::add_sw_register_template()
S
74 1 5
push_notification_auth_settings()
S
76 1 4
Push_Notification_Frontend::__construct()
S
82 1 3
PN_Server_Request::pnSendPushNotificatioinFilter()
S
72 1 5
Push_Notification_Admin::pn_key_popupshowafternseconds_callback()
S
74 1 4
Push_Notification_Admin::__construct()
S
98 1 1
Push_Notification_Admin::pn_key_popup_display_settings_title_callback()
S
79 1 3
Push_Notification_Admin::add_sw_js_content()
S
68 1 7
PnMetaBox::__construct()
S
75 1 4
Push_Notification_Admin::pn_key_popup_display_setings_border_radius_callback()
S
74 1 4
Push_Notification_Admin::pn_key_popupshowafternpageview_callback()
S
74 1 4
Push_Notification_Frontend::superpwa_add_pn_swcode()
S
63 1 10
Push_Notification_Admin::pn_key_url_manual_capture_callback()
S
77 1 3
Push_Notification_Admin::pn_key_popupshowagain_callback()
S
74 1 4
Push_Notification_Frontend::manifest_add_homescreen()
S
78 1 3
Push_Notification_Frontend::pwaforwp_enqueue_pn_scripts()
S
64 1 9
PN_Server_Request::__construct()
S
98 1 1
Push_Notification_Admin::pn_key_actions_buttons_position_callback()
S
68 1 7
PN_Ultimate_Member::init()
S
71 1 5