AMP_Service_Worker S

Total Complexity 37
Dependencies 4
Dependents 1
Total lines 354
Lines of code 229
Logical lines of code 90
Comment lines 91
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
init()
A
49 9 32
handle_service_worker_iframe_install()
S
47 4 43
get_precached_script_cdn_urls()
S
54 5 22
add_google_fonts_caching()
S
49 3 34
add_cdn_script_caching()
S
51 3 28
add_install_hooks()
S
60 4 13
install_service_worker()
S
57 3 19
register_caching_route()
S
61 3 11
add_image_caching()
S
53 2 23
add_query_var()
S
76 1 4