A2_Optimized_OptionsManager D

Total Complexity 340
Dependencies 10
Dependents 1
Total lines 2,947
Lines of code 2,158
Logical lines of code 919
Comment lines 471
Methods 96
Properties 10

Methods 96

Method Rating Maintainability Complexity Lines of code
get_optimization_status()
D
24
51 148
settings_page_html()
D
20
27 321
warnings()
C
35 27 88
w3tc_migration_wizard_html()
C
28
21 168
settingsPage()
B
34 21 91
get_plugin_status()
B
36 18 86
cache_settings_html()
A
29 4 185
write_wp_config()
A
42 9 57
install_plugin()
A
47 9 36
newuser_wizard_html()
A
41 5 81
roleToCapability()
A
57 8 19
write_htaccess()
S
43 5 57
plugin_display()
S
46 5 41
recaptcha_settings_html()
S
43 3 68
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
get_current_w3tc_version()
S
57 4 17
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
enable_w3tc_cache()
S
57 2 18
cache_settings_save()
S
64 3 10
getOption()
S
67 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
regenerate_wpconfig_salts()
S
58 1 16
kb_searchbox_html()
S
66 1 16
get_w3tc_config()
S
67 2 8
deactivate_plugin()
S
69 2 7
prefix()
S
68 2 7
set_install_status()
S
71 2 6
get_plugins()
S
70 2 7
getPluginHeaderValue()
S
64 2 9
is_plugin_installed()
S
69 2 7
clear_w3_total_cache()
S
78 2 4
isUserRoleEqualOrBetterThan()
S
69 2 7
is_a2()
S
72 2 6
curl_save_w3tc()
S
60 1 13
getPluginDir()
S
80 1 3
getOptionMetaData()
S
82 1 3
get_nomods()
S
80 1 3
getVersion()
S
80 1 3
is_a2_managed()
S
80 1 3
curl()
S
67 1 8
get_advanced_optimizations()
S
82 1 3
set_lockdown()
S
80 1 3
set_nomods()
S
80 1 3
updateOption()
S
75 1 4
deleteOption()
S
76 1 4
get_deny_direct()
S
80 1 3
set_deny_direct()
S
80 1 3
get_memcached_server()
S
80 1 3
get_lockdown()
S
80 1 3
__construct()
S
91 1 2
getOptionNamePrefix()
S
79 1 3
disable_w3tc_gzip()
S
69 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
enable_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
disable_a2_page_cache_minify_html()
S
68 1 7
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
enable_a2_page_cache_minify_html()
S
68 1 7
enable_a2_page_cache_minify_jscss()
S
67 1 8
addOption()
S
75 1 4
disable_w3tc_db_cache()
S
73 1 5
recaptcha_settings_save()
S
70 1 6
get_optimizations()
S
82 1 3
enable_html_minify()
S
68 1 8
disable_html_minify()
S
70 1 7
disable_w3tc_browser_cache()
S
73 1 5
disable_w3tc_object_cache()
S
73 1 5
disable_w3tc_page_cache()
S
73 1 5
disable_a2_page_cache_minify_jscss()
S
70 1 6
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
enable_woo_cart_fragments()
S
76 1 4
get_plugin_description()
S
73 1 6