Push_Notification_Frontend D

Total Complexity 496
Dependencies 10
Dependents 1
Total lines 2,243
Lines of code 1,801
Logical lines of code 988
Comment lines 83
Methods 67
Properties 1

Methods 67

Method Rating Maintainability Complexity Lines of code
pn_notification_confirm_banner()
D
14
73 290
pn_campaigns_shortcode()
C
26
23 202
pn_display_status()
C
35 30 81
pn_get_compaigns_front()
C
34 25 77
init()
B
34 19 78
json_settings()
B
39 20 57
pn_register_subscribers()
A
43 14 42
buddyboss_pn_group_activity_notification()
A
44 13 43
get_activity_link()
A
46 13 39
pn_add_url_token()
A
45 13 38
check_browser_type()
A
55 14 15
buddyboss_pn_message_notifications()
A
48 12 30
pn_peepso_activity_after_add_post()
A
46 10 36
buddyboss_pn_tokenid_registration_id()
A
53 10 21
buddyboss_pn_activity_comment_action()
A
52 9 21
peepso_pn_tokenid_registration_id()
A
53 9 21
gravity_pn_tokenid_registration_id()
A
53 9 21
fluent_community_pn_tokenid_registration_id()
A
53 9 21
pn_visibility_data_by_type()
A
55 8 20
pn_standardize_url()
S
59 7 13
store_user_registered_tokens()
S
55 6 18
pn_peepso_after_add_comment()
S
54 6 18
send_pn_on_gravity_form_saved()
S
56 6 17
pn_notify_on_fc_feed_created()
S
56 6 17
pn_notify_on_fc_new_comment()
S
56 6 16
pn_notify_on_fc_react_added()
S
56 6 16
page_include()
S
66 7 7
pn_buddyboss_send_notification()
S
50 5 29
pn_get_layout_files()
S
53 5 22
header_content()
S
54 5 22
load_service_worker()
S
55 5 21
page_redirect()
S
63 6 10
pn_noteclick_subscribers()
S
58 5 14
pn_peepso_send_notification()
S
50 4 29
pn_fluent_community_send_notification()
S
50 4 28
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()
S
59 5 13
buddyboss_pn_friend_request_accepted()
S
59 5 13
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
pn_enqueue_ajax_pagination_script()
S
100 1 31
update_autoptimize_exclude()
S
65 3 9
manifest_add_gcm_id()
S
70 3 6
get_the_user_ip()
S
64 3 10
amp_entry_gate()
S
60 2 12
rest_permission()
S
69 2 6
pn_detect_user_agent_new()
S
70 2 7
pn_token_exists()
S
64 2 10
pn_handle_error_log()
S
66 2 8
register_manifest_rest_route()
S
62 1 13
__construct()
S
82 1 3
pn_pwa_manifest_config()
S
75 1 5
pn_manifest_config()
S
67 1 8
pn_enqueue_scripts()
S
65 1 9
sw_template_query_var()
S
68 1 8
pwaforwp_enqueue_pn_scripts()
S
64 1 9
manifest_add_homescreen()
S
78 1 3
urls_https()
S
79 1 3
get_manifest()
S
77 1 4
amp_header_button_css()
S
69 1 7
superpwa_add_pn_swcode()
S
63 1 10
after_login_transient()
S
72 1 5