A2_Optimized_Optimizations D

Total Complexity 250
Dependencies 5
Dependents 2
Total lines 1,859
Lines of code 1,380
Logical lines of code 617
Comment lines 130
Methods 47
Properties 1

Methods 47

Method Rating Maintainability Complexity Lines of code
apply_optimization()
D
22
54 184
is_active()
D
23
55 163
get_extra_settings()
C
25
15 233
apply_optimization_filter()
A
40 14 56
get_public_optimizations()
A
30 1 186
write_wp_config()
A
42 9 57
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
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
get_best_practices()
S
44 1 55
login_captcha()
S
58 3 19
comment_captcha()
S
63 4 10
remove_xmlrpc_methods()
S
64 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
is_xmlrpc_request()
S
79 2 3
set_deny_direct()
S
67 2 8
set_nomods()
S
67 2 8
set_lockdown()
S
67 2 8
__construct()
S
69 2 7
get_litespeed_settings_snapshot()
S
67 2 8
set_litespeed_from_snapshot()
S
70 2 6
get_private_optimizations()
S
70 2 7
regenerate_wpconfig_desc()
S
77 1 4
enable_a2_page_cache_gzip()
S
67 1 8
addLockedEditor()
S
79 1 3
enable_a2_page_cache()
S
71 1 6
disable_a2_page_cache()
S
71 1 6
clientip_whitelisted()
S
81 1 3
disable_a2_page_cache_gzip()
S
68 1 7
disable_xmlrpc_requests()
S
77 1 4
disable_a2_object_cache()
S
70 1 6
enable_a2_page_cache_minify_html()
S
67 1 8
disable_a2_page_cache_minify_html()
S
67 1 8
enable_a2_page_cache_minify_jscss()
S
65 1 9
disable_a2_page_cache_minify_jscss()
S
68 1 7
disable_woo_cart_fragments()
S
74 1 5
enable_xmlrpc_requests()
S
76 1 4
enable_woo_cart_fragments()
S
73 1 5