Push_Notification_Frontend D

Total Complexity 355
Dependencies 7
Dependents 1
Total lines 1,565
Lines of code 1,219
Logical lines of code 674
Comment lines 69
Methods 55
Properties 1

Methods 55

Method Rating Maintainability Complexity Lines of code
pn_notification_confirm_banner()
D
19
54 246
pn_display_status()
C
35 30 81
json_settings()
B
39 20 57
init()
B
36 19 69
pn_register_subscribers()
A
44 13 41
pn_add_url_token()
A
45 13 38
check_browser_type()
A
55 14 15
pn_peepso_activity_after_add_post()
A
46 10 36
gravity_pn_tokenid_registration_id()
A
53 9 21
peepso_pn_tokenid_registration_id()
A
53 9 21
buddyboss_pn_tokenid_registration_id()
A
53 9 21
pn_visibility_data_by_type()
A
55 8 20
pn_standardize_url()
S
59 7 13
pn_peepso_after_add_comment()
S
54 6 18
store_user_registered_tokens()
S
55 6 18
send_pn_on_gravity_form_saved()
S
56 6 17
buddyboss_pn_message_notifications()
S
56 6 16
page_include()
S
66 7 7
pn_get_layout_files()
S
53 5 22
header_content()
S
54 5 22
load_service_worker()
S
55 5 21
buddyboss_pn_activity_comment_action()
S
57 5 15
page_redirect()
S
63 6 10
pn_peepso_send_notification()
S
50 4 29
pn_noteclick_subscribers()
S
58 5 14
pn_peepso_action_group_user_invitation_send()
S
59 5 13
pn_peepso_friends_requests_after_add()
S
59 5 13
pn_peepso_friends_requests_after_accept()
S
59 5 13
buddyboss_pn_invitation_notifications()
S
59 5 13
buddyboss_pn_friend_request_accepted()
S
59 5 13
buddyboss_pn_friend_request()
S
59 5 13
pn_buddyboss_send_notification()
S
50 4 27
pn_gravity_send_notification()
S
50 4 27
enqueue_pn_scripts()
S
59 3 13
superpwa_enqueue_pn_scripts()
S
60 3 11
header_button_css()
S
56 1 36
update_autoptimize_exclude()
S
65 3 9
get_the_user_ip()
S
64 3 10
manifest_add_gcm_id()
S
70 3 6
amp_entry_gate()
S
60 2 12
pn_handle_error_log()
S
66 2 8
rest_permission()
S
69 2 6
pn_token_exists()
S
64 2 10
register_manifest_rest_route()
S
62 1 13
sw_template_query_var()
S
68 1 8
pn_manifest_config()
S
67 1 8
manifest_add_homescreen()
S
78 1 3
urls_https()
S
79 1 3
after_login_transient()
S
72 1 5
superpwa_add_pn_swcode()
S
63 1 10
amp_header_button_css()
S
69 1 7
pn_pwa_manifest_config()
S
75 1 5
pwaforwp_enqueue_pn_scripts()
S
64 1 9
get_manifest()
S
77 1 4
__construct()
S
82 1 3