Code Analysis: Push Notifications for WP - Self Hosted Web Push Notifications 1.42

Function Rating Maintainability Complexity Lines of code
Push_Notification_Admin::shownotificationData()
D
10
46 482
Push_Notification_Frontend::pn_notification_confirm_banner()
D
19
54 246
Push_Notification_Admin::pn_send_notification()
D
23
52 157
pn_get_data_by_type()
D
32 35 96
pn_include_visibility_setting_callback()
D
32 35 92
Push_Notification_Admin::settings_init()
D
20
17 328
Push_Notification_Frontend::pn_display_status()
C
35 30 81
Push_Notification_Admin::pn_get_compaigns()
C
28
22 132
Push_Notification_Admin::pn_order_send_notification()
B
34 21 81
Push_Notification_Frontend::json_settings()
B
39 20 57
Push_Notification_Frontend::init()
B
36 19 69
push_notification_pro_notifyform_before()
B
34 16 88
Push_Notification_Admin::admin_interface_render()
B
39 15 62
Push_Notification_Helper::pn_expanded_allowed_tags()
A
26
1 245
push_notification_on_activate()
A
49 14 28
Push_Notification_Frontend::pn_register_subscribers()
A
44 13 41
Push_Notification_Frontend::pn_add_url_token()
A
45 13 38
PN_Ultimate_Member::pn_um_groups_notify_new_post()
A
38 11 64
Push_Notification_Frontend::check_browser_type()
A
55 14 15
PN_Ultimate_Member::pn_um_notification_activity_post_published()
A
39 11 59
PnMetaBox::pn_save_fields()
A
48 12 31
PN_Ultimate_Member::pn_um_notification_messaging()
A
39 10 59
pn_send_query_message()
A
44 10 43
Push_Notification_Frontend::pn_peepso_activity_after_add_post()
A
46 10 36
pn_send_feedback()
A
48 10 32
Push_Notification_Admin::pn_key_validate_status_callback()
A
45 9 39
Push_Notification_Admin::pn_verify_user()
A
51 10 24
pn_send_push_notificatioin_filter()
A
48 9 31
Push_Notification_Admin::pn_subscribe_newsletter()
A
48 9 31
Push_Notification_Admin::pn_revoke_keys()
A
49 9 31
Push_Notification_Admin::pn_delete_subscribers()
A
51 9 23
Push_Notification_Admin::pn_delete_campaigns()
A
51 9 23
Push_Notification_Admin::send_notification()
A
46 8 37
PnMetaBox::pn_field_generator()
A
47 8 37
Push_Notification_Frontend::gravity_pn_tokenid_registration_id()
A
53 9 21
Push_Notification_Frontend::peepso_pn_tokenid_registration_id()
A
53 9 21
Push_Notification_Frontend::buddyboss_pn_tokenid_registration_id()
A
53 9 21
pn_update_meta_ajax_callback()
A
53 9 20
push_notification_category()
A
48 8 35
Push_Notification_Admin::init()
A
48 8 30
Push_Notification_Admin::pn_select_specific_categories_callback()
A
51 8 23
Push_Notification_Frontend::pn_visibility_data_by_type()
A
55 8 20
PN_Server_Request::getProStatus()
A
56 8 18
pn_include_visibility_condition_callback()
A
48 7 31
PN_Server_Request::sendPushNotificatioDataNew()
S
46 6 38
PnMetaBox::pn_add_meta_boxes()
S
56 7 18
Push_Notification_Admin::send_notification_on_update()
S
56 7 18
pn_get_select2_data_by_cat()
S
56 7 16
Push_Notification_Admin::load_admin_scripts()
S
48 6 30
Push_Notification_Frontend::pn_standardize_url()
S
59 7 13
push_notification_on_install()
S
50 6 28
Push_Notification_Admin::pn_select_specific_roles_callback()
S
51 6 24
Push_Notification_Admin::pn_refresh_api_key()
S
52 6 23
PN_Field_Generator::get_input_multi_select()
S
55 6 19
Push_Notification_Admin::pn_subscribers_data()
S
55 6 19
push_notification_initialize()
S
55 6 19
Push_Notification_Frontend::store_user_registered_tokens()
S
55 6 18
Push_Notification_Frontend::pn_peepso_after_add_comment()
S
54 6 18
PN_Server_Request::registerSubscribers()
S
48 5 33
Push_Notification_Frontend::send_pn_on_gravity_form_saved()
S
56 6 17
Push_Notification_Frontend::buddyboss_pn_message_notifications()
S
56 6 16
Push_Notification_Frontend::page_include()
S
66 7 7
pn_select2_category_data()
S
58 6 15
PN_Server_Request::sendPushNotificatioData()
S
50 5 28
PN_Server_Request::sendRequest()
S
51 5 25
pn_get_all_unique_meta()
S
53 5 25
Push_Notification_Newsletter::add_localize_footer_data()
S
51 5 24
Push_Notification_Admin::pn_get_layout_files()
S
53 5 23
Push_Notification_Frontend::header_content()
S
54 5 22
Push_Notification_Frontend::pn_get_layout_files()
S
53 5 22
Push_Notification_Admin::json_settings()
S
53 5 21
Push_Notification_Frontend::load_service_worker()
S
55 5 21
PN_Field_Generator::get_input()
S
56 5 19
PN_Field_Generator::get_input_select()
S
56 5 17
Push_Notification_Admin::pn_key_segment_on_categories_callback()
S
58 5 16
pn_plugin_upgrade_function()
S
65 6 8
push_notification_older_version_compatibility()
S
62 6 10
Push_Notification_Frontend::buddyboss_pn_activity_comment_action()
S
57 5 15
Push_Notification_Frontend::page_redirect()
S
63 6 10
Push_Notification_Frontend::pn_noteclick_subscribers()
S
58 5 14
Push_Notification_Frontend::pn_peepso_send_notification()
S
50 4 29
Push_Notification_Frontend::pn_peepso_action_group_user_invitation_send()
S
59 5 13
Push_Notification_Frontend::pn_peepso_friends_requests_after_add()
S
59 5 13
Push_Notification_Frontend::pn_peepso_friends_requests_after_accept()
S
59 5 13
PN_Field_Generator::get_input_checkbox()
S
59 5 13
Push_Notification_Frontend::buddyboss_pn_friend_request_accepted()
S
59 5 13
Push_Notification_Frontend::buddyboss_pn_invitation_notifications()
S
59 5 13
Push_Notification_Frontend::buddyboss_pn_friend_request()
S
59 5 13
Push_Notification_Frontend::pn_buddyboss_send_notification()
S
50 4 27
Push_Notification_Frontend::pn_gravity_send_notification()
S
50 4 27
pn_is_plugins_page()
S
63 5 11
PN_Server_Request::varifyUser()
S
52 4 24
pn_enqueue_makebetter_email_js()
S
65 5 7
Push_Notification_Admin::admin_notices_opt()
S
60 4 13
pn_enqueue_admin_meta_script()
S
60 4 12
Push_Notification_Admin::pn_utm_tracking_callback()
S
51 3 27
pn_add_deactivation_feedback_modal()
S
62 4 11
push_notification_settings()
S
47 2 36
PN_Server_Request::getsubscribersData()
S
53 3 21
PN_Field_Generator::get_input_textarea()
S
66 4 7
Push_Notification_Frontend::enqueue_pn_scripts()
S
59 3 13
Push_Notification_Admin::pn_gravity_callback()
S
61 3 11
pn_get_page_title_by_url()
S
63 3 11
Push_Notification_Admin::pn_buddyboss_callback()
S
61 3 11
Push_Notification_Frontend::superpwa_enqueue_pn_scripts()
S
60 3 11
Push_Notification_Admin::pn_polylang_callback()
S
61 3 11
Push_Notification_Admin::pn_peepso_callback()
S
61 3 11
Push_Notification_Frontend::header_button_css()
S
56 1 36
Push_Notification_Admin::add_menu_links()
S
55 2 20
PN_Field_Generator::get_input_number()
S
70 3 5
Push_Notification_Frontend::get_the_user_ip()
S
64 3 10
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_password()
S
72 3 4
push_notification_frontend_class()
S
69 3 6
push_notification_pro_checker()
S
64 3 10
Push_Notification_Admin::pn_key_posttype_select_callback()
S
67 3 7
PN_Field_Generator::get_input_category()
S
72 3 4
Push_Notification_Frontend::manifest_add_gcm_id()
S
70 3 6
PN_Server_Request::getCompaignsData()
S
60 2 13
PN_Server_Request::deleteSubscribers()
S
61 2 12
PN_Server_Request::inactivateWebsite()
S
61 2 12
PN_Server_Request::deleteCampaigns()
S
61 2 12
Push_Notification_Frontend::amp_entry_gate()
S
60 2 12
pn_get_tokens_by_url()
S
62 2 11
Push_Notification_Admin::mobile_notification_preview()
S
57 1 25
pn_multisite::init()
S
71 2 6
Push_Notification_Admin::user_notification_order_change_callback()
S
63 2 9
Push_Notification_Frontend::pn_handle_error_log()
S
66 2 8
Push_Notification_Admin::pn_key_segment_select_callback()
S
64 2 10
Push_Notification_Frontend::rest_permission()
S
69 2 6
push_notification_auth_settings()
S
68 2 8
pn_add_footer_text()
S
64 2 9
Push_Notification_Frontend::pn_token_exists()
S
64 2 10
Push_Notification_Frontend::register_manifest_rest_route()
S
62 1 13
pn_multisite::pn_network_settings_menu()
S
64 1 11
Push_Notification_Admin::pn_key_popup_display_setings_border_radius_callback()
S
74 1 4
push_notification_visibility_section_callback()
S
78 1 3
Push_Notification_Admin::add_sw_register_template()
S
74 1 5
Push_Notification_Admin::user_settings_notification_pop_up_icon_callback()
S
79 1 3
Push_Notification_Admin::__construct()
S
98 1 1
Push_Notification_Admin::user_settings_onpublish_callback()
S
79 1 3
pn_multisite::__construct()
S
81 1 3
push_notification_details_settings()
S
76 1 4
Push_Notification_Frontend::pn_manifest_config()
S
67 1 8
pn_serpage_name()
S
78 1 4
Push_Notification_Frontend::amp_header_button_css()
S
69 1 7
Push_Notification_Admin::pn_key_popup_display_settings_text_callback()
S
79 1 3
Push_Notification_Admin::pn_key_banner_decline_btn_callback()
S
80 1 3
Push_Notification_Admin::user_notification_um_title()
S
74 1 4
pn_RemoveExtraValue()
S
70 1 6
Push_Notification_Admin::pn_key_url_capture_select_callback()
S
66 1 8
PN_Server_Request::__construct()
S
98 1 1
PN_Ultimate_Member::__construct()
S
98 1 1
PnMetaBox::pn_format_rows()
S
80 1 3
Push_Notification_Admin::pn_key_popupshowafternpageview_callback()
S
74 1 4
Push_Notification_Admin::add_pn_use_sw()
S
78 1 4
PnMetaBox::__construct()
S
75 1 4
PnMetaBox::pn_meta_box_callback()
S
76 1 4
Push_Notification_Admin::pn_key_actions_buttons_position_callback()
S
68 1 7
Push_Notification_Admin::add_sw_js_content()
S
68 1 7
Push_Notification_Frontend::sw_template_query_var()
S
68 1 8
push_notification_add_action_links()
S
69 1 6
push_notification_compatibility_section_callback()
S
78 1 3
Push_Notification_Admin::pn_key_url_manual_capture_callback()
S
77 1 3
PN_Server_Request::sendPushNotificatioClickData()
S
69 1 6
Push_Notification_Admin::pn_key_popup_display_settings_title_callback()
S
79 1 3
Push_Notification_Frontend::after_login_transient()
S
72 1 5
PN_Field_Generator::get_button()
S
70 1 6
Push_Notification_Admin::pn_revoke_subscription_popup_callback()
S
70 1 6
Push_Notification_Admin::pn_key_popup_display_settings_bg_callback()
S
79 1 3
PN_Server_Request::pnSendPushNotificatioinFilter()
S
72 1 5
Push_Notification_Frontend::urls_https()
S
79 1 3
Push_Notification_Admin::add_pn_config()
S
73 1 6
push_notification_feature_notice()
S
72 1 5
Push_Notification_Admin::pn_key_popup_display_settings_no_thanks_callback()
S
79 1 3
PN_Ultimate_Member::init()
S
71 1 5
Push_Notification_Frontend::pwaforwp_enqueue_pn_scripts()
S
64 1 9
Push_Notification_Admin::user_settings_notification_icon_callback()
S
79 1 3
Push_Notification_Admin::pn_key_popupshowagain_callback()
S
74 1 4
Push_Notification_Admin::pn_key_banner_message_callback()
S
80 1 3
Push_Notification_Frontend::manifest_add_homescreen()
S
78 1 3
Push_Notification_Frontend::pn_pwa_manifest_config()
S
75 1 5
Push_Notification_Admin::pn_key_showon_apk_only_callback()
S
70 1 6
Push_Notification_Newsletter::__construct()
S
78 1 3
Push_Notification_Admin::pn_display_popup_after_login_callback()
S
70 1 6
Push_Notification_Frontend::__construct()
S
82 1 3
Push_Notification_Frontend::get_manifest()
S
77 1 4
Push_Notification_Admin::pn_key_banner_accept_btn_callback()
S
80 1 3
Push_Notification_Admin::pn_key_popup_display_settings_ok_callback()
S
79 1 3
Push_Notification_Admin::pn_key_position_select_callback()
S
64 1 9
Push_Notification_Frontend::superpwa_add_pn_swcode()
S
63 1 10
Push_Notification_Admin::pn_key_popupshowafternseconds_callback()
S
74 1 4