A2_Optimized_Optimizations D

Total Complexity 239
Dependencies 5
Dependents 2
Total lines 1,579
Lines of code 1,300
Logical lines of code 588
Comment lines 130
Methods 45
Properties 1

Methods 45

Method Rating Maintainability Complexity Lines of code
is_active()
D
23
55 163
apply_optimization()
D
24
51 170
get_extra_settings()
B
27
13 203
apply_optimization_filter()
A
43 12 48
write_wp_config()
A
42 9 57
get_public_optimizations()
A
31 1 172
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_private_optimizations()
S
70 2 7
regenerate_wpconfig_desc()
S
77 1 4
clientip_whitelisted()
S
81 1 3
enable_a2_page_cache()
S
71 1 6
disable_a2_page_cache()
S
71 1 6
addLockedEditor()
S
79 1 3
enable_a2_page_cache_gzip()
S
67 1 8
disable_a2_page_cache_gzip()
S
68 1 7
disable_a2_object_cache()
S
70 1 6
disable_xmlrpc_requests()
S
77 1 4
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
enable_woo_cart_fragments()
S
73 1 5
enable_xmlrpc_requests()
S
76 1 4
disable_woo_cart_fragments()
S
74 1 5