Push_Notification_Frontend C

Total Complexity 122
Dependencies 4
Dependents 1
Total lines 603
Lines of code 530
Logical lines of code 264
Comment lines 29
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
pwaforwp_notification_confirm_banner()
B
31 13 156
init()
B
41 18 48
check_browser_type()
A
55 14 15
json_settings()
A
46 10 36
pn_register_subscribers()
A
49 8 28
page_include()
S
66 7 7
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
pn_noteclick_subscribers()
S
58 5 14
store_user_registered_tokens()
S
62 5 10
header_button_css()
S
57 1 36
update_autoptimize_exclude()
S
65 3 9
get_the_user_ip()
S
64 3 10
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
61 1 12
__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
pwaforwp_enqueue_pn_scripts()
S
62 1 10
sw_template_query_var()
S
68 1 8
amp_header_button_css()
S
69 1 7