PWAFORWP_Service_Worker D

Total Complexity 185
Dependencies 7
Dependents 2
Total lines 755
Lines of code 554
Logical lines of code 379
Comment lines 72
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
pwaforwp_load_service_worker_ajax()
B
34 22 84
pwaforwp_load_service_worker()
B
34 21 82
pwaforwp_store_latest_post_ids()
B
41 19 50
__construct()
B
44 19 39
pwaforwp_paginated_post_add_homescreen()
A
51 12 22
pwaforwp_service_worker_init()
A
47 11 32
pwaforwp_custom_add_to_home_screen()
A
53 9 19
iosSplashScreen()
A
55 9 16
site_icon_apple_touch_remove()
S
60 7 13
apple_icons_support()
S
54 5 20
pwaforwp_service_worker()
S
54 4 20
pwaforwp_update_pre_caching_urls()
S
56 4 18
pwaforwp_paginated_post_add_homescreen_amp()
S
61 4 11
pixelative_amp_entry_point()
S
65 4 8
pwa_add_error_template_query_var()
S
65 4 9
on_user_logged_in()
S
63 4 10
get_manifest()
S
65 4 8
pwaforwp_is_amp_activated()
S
73 3 5
screenshotScreen()
S
64 3 9
load_scripts()
S
72 3 4
pwaforwp_service_worker_non_amp()
S
61 2 12
register_manifest_rest_route()
S
56 1 22
pwaforwp_service_worker_script()
S
70 2 6
pwaforwp_automattic_amp_entry_point()
S
66 2 8
rest_permission()
S
69 2 6
pwaforwp_amp_entry_point()
S
69 1 6
loadalernative_script_load_method()
S
75 1 4
sort_icons_callback()
S
77 1 3
pwaforwp_pushnami_rewrite()
S
72 1 4
pwaforwp_onesignal_rewrite()
S
72 1 4