Push_Notification_Frontend B

Total Complexity 100
Dependencies 4
Dependents 1
Total lines 543
Lines of code 466
Logical lines of code 235
Comment lines 28
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
init()
B
41 17 48
check_browser_type()
A
55 14 15
pwaforwp_notification_confirm_banner()
A
38 5 107
json_settings()
S
50 5 26
pn_register_subscribers()
S
52 5 23
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
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
enqueue_pn_scripts()
S
60 1 13
register_manifest_rest_route()
S
62 1 13
__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