Push_Notification_Frontend B

Total Complexity 89
Dependencies 4
Dependents 1
Total lines 475
Lines of code 420
Logical lines of code 202
Comment lines 14
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
init()
A
44 15 41
check_browser_type()
A
55 14 15
pwaforwp_notification_confirm_banner()
A
38 5 107
pn_get_layout_files()
S
53 5 23
pn_register_subscribers()
S
53 5 22
header_content()
S
54 5 22
load_service_worker()
S
55 5 21
json_settings()
S
53 5 21
page_redirect()
S
63 6 10
page_include()
S
66 5 7
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
60 1 13
manifest_add_gcm_id()
S
76 1 4
get_manifest()
S
77 1 4
manifest_add_homescreen()
S
78 1 3
pwaforwp_enqueue_pn_scripts()
S
62 1 10
sw_template_query_var()
S
68 1 8
__construct()
S
82 1 3