A2_Optimized_Optimizations D

Total Complexity 330
Dependencies 6
Dependents 4
Total lines 2,351
Lines of code 1,751
Logical lines of code 810
Comment lines 158
Methods 57
Properties 1

Methods 57

Method Rating Maintainability Complexity Lines of code
is_active()
D
9
95 319
apply_optimization()
D
21
58 198
get_extra_settings()
C
25
16 237
apply_optimization_filter()
A
40 14 57
get_public_optimizations()
A
29
1 208
write_wp_config()
A
42 9 57
maybe_keep_lightspeed_lock()
A
48 10 33
write_htaccess()
A
42 6 56
captcha_comment_authenticate()
A
56 8 17
captcha_authenticate()
A
56 8 17
get_best_practices()
S
35 1 113
is_ip_in_range()
S
57 6 17
maybe_display_litespeed_notice()
S
58 6 15
config_file_path()
S
59 6 15
writeSalts()
S
52 5 24
enable_lscache_object_cache()
S
57 4 18
enable_a2_object_cache()
S
58 4 16
block_xmlrpc_request()
S
60 4 15
maybe_clean_wpconfig_backup()
S
63 5 10
login_captcha()
S
59 3 18
hooks()
S
64 4 9
comment_captcha()
S
63 4 10
enable_bcrypt_passwords()
S
61 3 12
remove_xmlrpc_methods()
S
64 3 11
__construct()
S
63 3 11
get_optimizations()
S
54 2 24
client_is_automattic()
S
59 2 16
is_redis_supported()
S
68 3 7
get_incompatible_plugins()
S
60 1 16
regenerate_wpconfig_salts()
S
58 1 16
get_litespeed_settings_snapshot()
S
67 2 8
set_litespeed_from_snapshot()
S
70 2 6
get_private_optimizations()
S
70 2 7
is_xmlrpc_request()
S
79 2 3
set_nomods()
S
67 2 8
set_lockdown()
S
67 2 8
set_deny_direct()
S
67 2 8
disable_bcrypt_passwords()
S
69 2 7
disable_a2_object_cache()
S
70 1 6
enable_a2_page_cache()
S
71 1 6
disable_a2_page_cache_minify_jscss()
S
68 1 7
enable_wpconfig_cleanup()
S
76 1 4
disable_wpconfig_cleanup()
S
77 1 4
enable_a2_page_cache_minify_html()
S
67 1 8
get_litespeed_description()
S
79 1 3
addLockedEditor()
S
79 1 3
enable_woo_cart_fragments()
S
73 1 5
regenerate_wpconfig_desc()
S
77 1 4
clientip_whitelisted()
S
81 1 3
disable_woo_cart_fragments()
S
74 1 5
disable_a2_page_cache()
S
71 1 6
enable_xmlrpc_requests()
S
76 1 4
enable_a2_page_cache_gzip()
S
67 1 8
disable_a2_page_cache_gzip()
S
68 1 7
enable_a2_page_cache_minify_jscss()
S
65 1 9
disable_xmlrpc_requests()
S
77 1 4
disable_a2_page_cache_minify_html()
S
67 1 8