Push_Notification_Frontend D

Total Complexity 186
Dependencies 4
Dependents 1
Total lines 815
Lines of code 683
Logical lines of code 345
Comment lines 41
Methods 35
Properties 1

Methods 35

Method Rating Maintainability Complexity Lines of code
pn_notification_confirm_banner()
D
24
38 185
init()
B
39 19 55
json_settings()
A
43 13 43
pn_add_url_token()
A
45 13 38
check_browser_type()
A
55 14 15
pn_register_subscribers()
A
49 9 29
pn_standardize_url()
S
59 7 13
store_user_registered_tokens()
S
55 6 18
page_include()
S
66 7 7
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
enqueue_pn_scripts()
S
59 3 13
superpwa_enqueue_pn_scripts()
S
60 3 11
header_button_css()
S
56 1 36
get_the_user_ip()
S
64 3 10
manifest_add_gcm_id()
S
70 3 6
update_autoptimize_exclude()
S
65 3 9
amp_entry_gate()
S
60 2 12
rest_permission()
S
69 2 6
pn_token_exists()
S
64 2 10
register_manifest_rest_route()
S
62 1 13
pn_pwa_manifest_config()
S
75 1 5
get_manifest()
S
77 1 4
urls_https()
S
79 1 3
manifest_add_homescreen()
S
78 1 3
pwaforwp_enqueue_pn_scripts()
S
64 1 9
sw_template_query_var()
S
68 1 8
amp_header_button_css()
S
69 1 7
superpwa_add_pn_swcode()
S
63 1 10
pn_manifest_config()
S
67 1 8
after_login_transient()
S
72 1 5
__construct()
S
82 1 3