A2_Optimized_OptionsManager D

Total Complexity 382
Dependencies 14
Dependents 2
Total lines 3,236
Lines of code 2,386
Logical lines of code 1,031
Comment lines 499
Methods 102
Properties 10

Methods 102

Method Rating Maintainability Complexity Lines of code
get_optimization_status()
D
24
51 152
settings_page_html()
D
19
29 324
warnings()
C
35 27 88
w3tc_migration_wizard_html()
C
28
21 168
settingsPage()
C
32 24 102
cache_settings_html()
B
24
8 271
get_plugin_status()
B
37 16 78
site_health_page_html()
A
39 14 74
write_wp_config()
A
42 9 57
install_plugin()
A
46 10 39
newuser_wizard_html()
A
41 5 81
roleToCapability()
A
57 8 19
write_htaccess()
S
43 5 57
recaptcha_settings_html()
S
43 3 68
site_health_remove()
S
56 6 18
config_file_path()
S
62 6 11
writeSalts()
S
52 5 24
get_w3tc_defaults()
S
38 1 78
is_valid_w3tc_installed()
S
58 5 17
site_health_save()
S
56 4 18
enable_lscache_object_cache()
S
57 4 18
get_current_w3tc_version()
S
57 4 17
enable_a2_object_cache()
S
59 4 15
checkUserCapability()
S
60 4 14
upgrade_wizard_html()
S
48 2 43
update_w3tc()
S
60 4 12
hit_the_w3tc_page()
S
53 3 22
cache_settings_save()
S
60 3 13
enable_w3tc_cache()
S
57 2 18
getOption()
S
67 3 8
is_redis_supported()
S
66 3 8
checkUserRole()
S
66 3 8
enable_w3tc_page_cache()
S
61 2 13
uninstall_plugin()
S
63 2 11
getRandomString()
S
62 2 11
plugin_not_active_warning()
S
59 1 20
warning_display()
S
60 1 18
kb_searchbox_html()
S
66 1 16
regenerate_wpconfig_salts()
S
58 1 16
set_install_status()
S
71 2 6
deactivate_plugin()
S
69 2 7
isUserRoleEqualOrBetterThan()
S
69 2 7
is_a2()
S
72 2 6
set_nomods()
S
69 2 7
set_deny_direct()
S
69 2 7
prefix()
S
68 2 7
get_plugins()
S
70 2 7
clear_w3_total_cache()
S
78 2 4
getPluginHeaderValue()
S
64 2 9
get_w3tc_config()
S
67 2 8
set_lockdown()
S
69 2 7
is_plugin_installed()
S
69 2 7
curl_save_w3tc()
S
60 1 13
getPluginDir()
S
80 1 3
getVersion()
S
80 1 3
get_advanced_optimizations()
S
82 1 3
is_a2_managed()
S
80 1 3
getOptionMetaData()
S
82 1 3
updateOption()
S
75 1 4
deleteOption()
S
76 1 4
get_deny_direct()
S
80 1 3
get_memcached_server()
S
80 1 3
get_nomods()
S
80 1 3
curl()
S
67 1 8
get_lockdown()
S
80 1 3
__construct()
S
91 1 2
getOptionNamePrefix()
S
79 1 3
disable_w3tc_gzip()
S
69 1 7
enable_a2_page_cache_minify_html()
S
68 1 7
disable_a2_page_cache_gzip()
S
70 1 6
enable_a2_page_cache_gzip()
S
68 1 7
disable_a2_object_cache()
S
72 1 5
disable_a2_page_cache()
S
74 1 5
enable_a2_page_cache()
S
74 1 5
enable_w3tc_gzip()
S
69 1 7
enable_a2_page_cache_minify_jscss()
S
67 1 8
enable_w3tc_browser_cache()
S
73 1 5
enable_w3tc_object_cache()
S
71 1 6
enable_w3tc_db_cache()
S
71 1 6
refresh_w3tc()
S
82 1 3
activate_plugin()
S
73 1 5
enable_w3_total_cache()
S
69 1 7
disable_a2_page_cache_minify_html()
S
68 1 7
disable_a2_page_cache_minify_jscss()
S
70 1 6
addOption()
S
75 1 4
disable_w3tc_browser_cache()
S
73 1 5
set_a2_token()
S
69 1 6
get_a2_token()
S
79 1 3
recaptcha_settings_save()
S
70 1 6
get_optimizations()
S
82 1 3
enable_html_minify()
S
67 1 8
disable_html_minify()
S
70 1 7
disable_w3tc_object_cache()
S
73 1 5
enable_woo_cart_fragments()
S
76 1 4
disable_w3tc_db_cache()
S
73 1 5
disable_w3tc_page_cache()
S
73 1 5
disable_w3tc_cache()
S
68 1 8
regenerate_wpconfig_desc()
S
77 1 4
disable_xmlrpc_requests()
S
81 1 3
enable_xmlrpc_requests()
S
80 1 3
disable_woo_cart_fragments()
S
77 1 4
get_plugin_description()
S
73 1 6