WP_Optimize_Minify_Front_End D

Total Complexity 616
Dependencies 5
Dependents 1
Total lines 2,688
Lines of code 1,735
Logical lines of code 1,241
Comment lines 605
Methods 41
Properties 5

Methods 41

Method Rating Maintainability Complexity Lines of code
process_header_css()
D
6
113 309
process_footer_css()
D
10
96 280
process_header_scripts()
D
12
91 258
process_footer_scripts()
D
15
78 234
inline_css()
D
24
52 142
defer_js()
B
40 21 56
process_script_modules()
B
36 19 73
generate_preload_headers()
B
42 16 49
init()
A
50 11 28
run_on_page()
A
59 11 13
get_preload_headers()
A
49 10 27
order_stylesheets_per_media_type()
A
52 10 26
extra_preload_headers()
A
54 10 20
get_scripts()
S
53 6 22
add_google_fonts_merged()
S
56 6 17
should_reset_minify_assets()
S
59 6 11
process_js()
S
57 5 15
process_css()
S
57 4 16
add_assets_preload()
S
62 5 10
add_caching_headers()
S
62 4 11
include_dependencies()
S
63 4 11
add_critical_path()
S
67 4 7
get_script_module_importmap()
S
70 3 5
collect_js_preload_headers()
S
66 3 8
collect_css_preload_headers()
S
66 3 8
array_to_string_conversion()
S
68 3 7
should_use_loadCSS()
S
72 3 5
should_process_html()
S
78 3 3
convert_option_to_array()
S
77 2 3
__construct()
S
65 2 9
is_cache_preload()
S
77 2 3
remove_header_meta_info()
S
62 1 11
remove_query_string_from_static_assets()
S
74 1 4
disable_emojis()
S
76 1 4
get_excluded_css_list()
S
75 1 4
get_async_css_list()
S
75 1 4
get_excluded_js_list()
S
75 1 4
get_async_js_list()
S
75 1 4
get_pre_connect_list()
S
75 1 4
meta_log_initialization()
S
70 1 7
check_wpo()
S
78 1 3