WP_Optimize_Minify_Front_End D

Total Complexity 585
Dependencies 4
Dependents 1
Total lines 2,490
Lines of code 1,603
Logical lines of code 1,117
Comment lines 573
Methods 38
Properties 5

Methods 38

Method Rating Maintainability Complexity Lines of code
process_header_css()
D
7
112 301
process_footer_css()
D
10
95 272
process_header_scripts()
D
12
91 251
process_footer_scripts()
D
15
78 227
inline_css()
D
25
51 141
defer_js()
B
40 21 56
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
add_google_fonts_merged()
S
56 6 17
should_reset_minify_assets()
S
59 6 11
process_js()
S
58 5 14
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
collect_js_preload_headers()
S
66 3 8
array_to_string_conversion()
S
68 3 7
should_use_loadCSS()
S
72 3 5
collect_css_preload_headers()
S
66 3 8
should_process_html()
S
78 3 3
is_cache_preload()
S
77 2 3
convert_option_to_array()
S
77 2 3
__construct()
S
65 2 9
remove_header_meta_info()
S
62 1 11
check_wpo()
S
78 1 3
disable_emojis()
S
76 1 4
remove_query_string_from_static_assets()
S
74 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