A2_Optimized_Optimizations D

Total Complexity 293
Dependencies 5
Dependents 3
Total lines 2,063
Lines of code 1,534
Logical lines of code 699
Comment lines 155
Methods 56
Properties 1

Methods 56

Method Rating Maintainability Complexity Lines of code
apply_optimization()
D
21
58 198
is_active()
D
21
59 173
get_extra_settings()
C
25
16 239
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
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
maybe_clean_wpconfig_backup()
S
63 5 10
block_xmlrpc_request()
S
60 4 15
get_best_practices()
S
44 1 55
login_captcha()
S
58 3 19
comment_captcha()
S
63 4 10
hooks()
S
64 4 9
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
regenerate_wpconfig_salts()
S
58 1 16
disable_bcrypt_passwords()
S
69 2 7
set_deny_direct()
S
67 2 8
set_nomods()
S
67 2 8
set_lockdown()
S
67 2 8
is_xmlrpc_request()
S
79 2 3
get_private_optimizations()
S
70 2 7
set_litespeed_from_snapshot()
S
70 2 6
get_litespeed_settings_snapshot()
S
67 2 8
enable_a2_page_cache_gzip()
S
67 1 8
disable_a2_page_cache()
S
71 1 6
enable_a2_page_cache()
S
71 1 6
get_litespeed_description()
S
79 1 3
clientip_whitelisted()
S
81 1 3
addLockedEditor()
S
79 1 3
enable_wpconfig_cleanup()
S
76 1 4
disable_a2_page_cache_gzip()
S
68 1 7
disable_wpconfig_cleanup()
S
77 1 4
enable_a2_page_cache_minify_html()
S
67 1 8
disable_a2_page_cache_minify_html()
S
67 1 8
regenerate_wpconfig_desc()
S
77 1 4
disable_xmlrpc_requests()
S
77 1 4
enable_xmlrpc_requests()
S
76 1 4
disable_woo_cart_fragments()
S
74 1 5
enable_woo_cart_fragments()
S
73 1 5
enable_a2_page_cache_minify_jscss()
S
65 1 9
disable_a2_page_cache_minify_jscss()
S
68 1 7
disable_a2_object_cache()
S
70 1 6