Push_Notification_Frontend C

Total Complexity 106
Dependencies 4
Dependents 1
Total lines 582
Lines of code 513
Logical lines of code 250
Comment lines 28
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
pwaforwp_notification_confirm_banner()
B
32 11 152
init()
B
41 17 48
check_browser_type()
A
55 14 15
json_settings()
S
50 5 26
pn_register_subscribers()
S
52 5 24
pn_get_layout_files()
S
53 5 23
header_content()
S
54 5 22
load_service_worker()
S
55 5 21
page_redirect()
S
63 6 10
page_include()
S
66 5 7
store_user_registered_tokens()
S
63 4 10
pn_noteclick_subscribers()
S
59 3 13
header_button_css()
S
57 1 36
get_the_user_ip()
S
64 3 10
update_autoptimize_exclude()
S
65 3 9
amp_entry_gate()
S
60 2 12
rest_permission()
S
69 2 6
register_manifest_rest_route()
S
62 1 13
enqueue_pn_scripts()
S
60 1 13
pwaforwp_enqueue_pn_scripts()
S
61 1 11
__construct()
S
82 1 3
get_manifest()
S
77 1 4
manifest_add_gcm_id()
S
76 1 4
urls_https()
S
79 1 3
manifest_add_homescreen()
S
78 1 3
sw_template_query_var()
S
68 1 8
amp_header_button_css()
S
69 1 7