Swift_Performance_Asset_Manager D

Total Complexity 551
Dependencies 10
Dependents 3
Total lines 2,212
Lines of code 1,581
Logical lines of code 1,044
Comment lines 297
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
asset_manager_callback()
D
0
323 946
lazyload_images()
D
23
60 139
__construct()
D
26
47 127
asset_manager()
C
35 24 80
asset_proxy_callback()
A
47 10 32
minify_js()
A
45 8 40
bypass_css_import()
A
46 8 35
css_realpath_url()
A
53 8 18
get_script_dependencies()
A
57 8 16
proxy_3rd_party_request()
S
50 6 24
realpath()
S
57 6 16
should_optimize()
S
62 7 9
webp_background()
S
58 5 14
get_webp_filename()
S
56 4 18
clear_assets_proxy_cache()
S
66 5 7
clear_assets_cache()
S
64 5 9
normalize_vc_custom_css()
S
63 4 10
get_image_mime()
S
60 3 13
css_realpath()
S
72 2 4
script_boundary()
S
69 2 6
html_auto_fix()
S
70 2 6
remove_static_ver()
S
71 2 6
intermediate_image_sizes()
S
79 1 3
normalize_font_urls()
S
79 1 3