WP_Optimize_Delay_JS A

Total Complexity 74
Dependencies 2
Dependents 1
Total lines 410
Lines of code 205
Logical lines of code 113
Comment lines 146
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
get_minified_scripts_to_exclude()
A
49 10 32
is_excluded_script()
S
59 7 14
build_delay_js_tag()
S
59 7 13
preload_js()
S
57 5 16
get_excluded_scripts()
S
61 5 11
is_edit_mode()
S
76 5 3
should_process()
S
76 5 3
generate_preload_scripts_tags()
S
63 4 10
update_script_tags_callback()
S
64 3 9
is_supported_type()
S
55 1 23
is_minification_enabled_for_js()
S
78 2 3
__construct()
S
72 2 6
instance()
S
69 2 7
delay_js()
S
66 2 8
maybe_delay_js()
S
72 2 6
maybe_preload_js()
S
72 2 6
start_buffering()
S
69 2 7
process()
S
71 2 6
is_delay_js_enabled()
S
80 1 3
is_preload_js_enabled()
S
80 1 3
optimize_buffered_content_for_delaying_js_execution()
S
76 1 4
get_scripts_pattern()
S
82 1 3
register_callback_to_output_delay_js_script()
S
79 1 3
output_delay_js_script()
S
70 1 6