Code Analysis: Push Notification 1.15

Function Rating Maintainability Complexity Lines of code
Push_Notification_Frontend::init()
A
44 15 41
Push_Notification_Frontend::check_browser_type()
A
55 14 15
Push_Notification_Admin::send_notification_on_update()
A
52 11 25
Push_Notification_Frontend::pwaforwp_notification_confirm_banner()
A
38 5 107
push_notification_on_activate()
A
56 10 16
Push_Notification_Admin::shownotificationData()
A
42 6 62
Push_Notification_Admin::pn_order_send_notification()
S
48 7 30
Push_Notification_Admin::init()
S
51 7 23
Push_Notification_Admin::pn_send_notification()
S
47 6 34
Push_Notification_Admin::settings_init()
S
39 2 91
Push_Notification_Admin::send_notification()
S
49 6 28
Push_Notification_Admin::pn_verify_user()
S
55 6 17
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::pn_register_subscribers()
S
53 5 22
Push_Notification_Frontend::header_content()
S
54 5 22
Push_Notification_Frontend::load_service_worker()
S
55 5 21
Push_Notification_Frontend::json_settings()
S
53 5 21
Push_Notification_Admin::json_settings()
S
53 5 21
PN_Field_Generator::get_input_select()
S
57 5 15
push_notification_older_version_compatibility()
S
62 6 10
Push_Notification_Frontend::page_redirect()
S
63 6 10
PN_Field_Generator::get_input_multi_select()
S
57 5 15
Push_Notification_Admin::admin_interface_render()
S
54 4 22
Push_Notification_Admin::pn_key_validate_status_callback()
S
56 4 16
Push_Notification_Frontend::page_include()
S
66 5 7
Push_Notification_Admin::admin_notices_opt()
S
60 4 13
Push_Notification_Admin::pn_utm_tracking_callback()
S
51 3 27
PN_Server_Request::varifyUser()
S
54 3 20
Push_Notification_Admin::load_admin_scripts()
S
55 3 19
PN_Server_Request::getsubscribersData()
S
55 3 18
PN_Field_Generator::get_input_checkbox()
S
63 4 10
push_notification_initialize()
S
63 4 10
PN_Server_Request::sendRequest()
S
59 3 14
Push_Notification_Admin::pn_subscribers_data()
S
58 3 14
push_notification_settings()
S
51 2 26
Push_Notification_Frontend::header_button_css()
S
57 1 36
PN_Server_Request::registerSubscribers()
S
55 2 20
Push_Notification_Admin::pn_subscribe_newsletter()
S
55 2 18
PN_Server_Request::sendPushNotificatioData()
S
56 2 18
push_notification_frontend_class()
S
69 3 6
PN_Field_Generator::get_input()
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
Push_Notification_Frontend::update_autoptimize_exclude()
S
65 3 9
Push_Notification_Frontend::amp_entry_gate()
S
60 2 12
Push_Notification_Admin::add_menu_links()
S
60 1 15
push_notification_after_activation_redirect()
S
73 2 5
Push_Notification_Admin::pn_revoke_keys()
S
63 2 9
Push_Notification_Frontend::rest_permission()
S
69 2 6
Push_Notification_Frontend::enqueue_pn_scripts()
S
60 1 13
Push_Notification_Frontend::register_manifest_rest_route()
S
62 1 13
Push_Notification_Admin::pn_key_banner_accept_btn_callback()
S
75 1 4
Push_Notification_Admin::user_settings_callback()
S
75 1 4
Push_Notification_Frontend::get_manifest()
S
77 1 4
pn_serpage_name()
S
78 1 4
PN_Server_Request::__construct()
S
98 1 1
Push_Notification_Admin::user_settings_notification_icon_callback()
S
79 1 3
Push_Notification_Admin::add_pn_use_sw()
S
78 1 4
Push_Notification_Admin::add_sw_js_content()
S
68 1 7
Push_Notification_Newsletter::__construct()
S
78 1 3
Push_Notification_Admin::pn_key_banner_message_callback()
S
75 1 4
Push_Notification_Admin::pn_key_banner_decline_btn_callback()
S
75 1 4
Push_Notification_Admin::__construct()
S
98 1 1
Push_Notification_Admin::add_sw_register_template()
S
74 1 5
Push_Notification_Admin::add_pn_config()
S
73 1 6
push_notification_details_settings()
S
76 1 4
Push_Notification_Admin::pn_key_posttype_select_callback()
S
69 1 6
push_notification_add_action_links()
S
69 1 6
Push_Notification_Frontend::__construct()
S
82 1 3
Push_Notification_Frontend::manifest_add_homescreen()
S
78 1 3
PN_Field_Generator::get_button()
S
70 1 6
push_notification_auth_settings()
S
76 1 4
Push_Notification_Admin::user_settings_onpublish_callback()
S
75 1 4
Push_Notification_Admin::pn_key_position_select_callback()
S
64 1 10
Push_Notification_Frontend::pwaforwp_enqueue_pn_scripts()
S
62 1 10
Push_Notification_Frontend::sw_template_query_var()
S
68 1 8
Push_Notification_Frontend::manifest_add_gcm_id()
S
76 1 4