PWAFORWP_Service_Worker D

Total Complexity 158
Dependencies 7
Dependents 2
Total lines 662
Lines of code 507
Logical lines of code 349
Comment lines 69
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
pwaforwp_load_service_worker_ajax()
B
34 22 86
pwaforwp_load_service_worker()
B
35 21 80
pwaforwp_store_latest_post_ids()
B
42 17 50
__construct()
A
46 16 33
pwaforwp_custom_add_to_home_screen()
A
53 9 19
pwaforwp_service_worker_init()
S
56 7 16
iosSplashScreen()
S
59 7 12
pwaforwp_paginated_post_add_homescreen()
S
58 6 14
apple_icons_support()
S
55 5 19
site_icon_apple_touch_remove()
S
62 5 11
pwaforwp_service_worker()
S
54 4 20
pwaforwp_paginated_post_add_homescreen_amp()
S
61 4 11
on_user_logged_in()
S
63 4 10
get_manifest()
S
65 4 8
pwaforwp_update_pre_caching_urls()
S
58 3 15
pixelative_amp_entry_point()
S
65 4 8
pwa_add_error_template_query_var()
S
66 3 9
pwaforwp_is_amp_activated()
S
73 3 5
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
rest_permission()
S
69 2 6
pwaforwp_automattic_amp_entry_point()
S
66 2 8
loadalernative_script_load_method()
S
75 1 4
pwaforwp_amp_entry_point()
S
69 1 6
sort_icons_callback()
S
77 1 3
pwaforwp_onesignal_rewrite()
S
66 1 7
pwaforwp_pushnami_rewrite()
S
66 1 7