Code Analysis: A2 Optimized WP 2.1.3.7

Function Rating Maintainability Complexity Lines of code
A2_Optimized_Optimizations::get_public_optimizations()
D
10
45 552
A2_Optimized_OptionsManager::get_optimization_status()
D
24
51 152
A2_Optimized_OptionsManager::settings_page_html()
D
19
29 324
A2_Optimized_Plugin::admin_init()
C
38 31 55
A2_Optimized_OptionsManager::warnings()
C
35 27 88
A2_Optimized_OptionsManager::w3tc_migration_wizard_html()
C
28
21 168
A2_Optimized_Cache_Disk::get_settings_file_name()
C
39 25 56
A2_Optimized_OptionsManager::settingsPage()
B
34 21 91
A2_Optimized_OptionsManager::get_plugin_status()
B
37 16 78
A2_Optimized_Cache_Engine::bypass_cache()
B
51 18 23
A2_Optimized_Cache_Disk::get_cache()
A
47 17 30
A2_Optimized_OptionsManager::cache_settings_html()
A
29 5 187
A2_Optimized_Cache_Engine::get_request_headers()
A
57 16 13
A2_Optimized_Cache_Engine::is_excluded()
A
45 14 39
A2_Optimized_Cache_Disk::clear_cache()
A
43 13 47
A2_Optimized_Cache::process_clear_cache_request()
A
51 13 22
A2_Optimized_Cache::requirements_check()
A
41 10 61
A2_Optimized_Server_Info::server_header_call()
A
45 11 38
WP_Object_Cache::__construct()
A
42 10 51
WP_Object_Cache::get()
A
47 11 35
A2_Optimized_Optimizations::get_public_advanced()
A
37 7 90
A2_Optimized_CLI::enable()
A
45 10 44
A2_Optimized_CLI::disable()
A
45 10 44
A2_Optimized_OptionsManager::write_wp_config()
A
42 9 57
A2_Optimized_Cache_Engine::should_start()
A
53 11 21
A2_Optimized_Optimizations::get_public_warnings()
A
38 7 80
A2_Optimized_CLI::clear()
A
48 10 33
A2_Optimized_OptionsManager::install_plugin()
A
47 9 36
A2_Optimized_Plugin::addActionsAndFilters()
A
46 9 34
A2_Optimized_Cache_Disk::set_wp_cache_constant()
A
49 9 28
WP_Object_Cache::set_multi()
A
51 9 26
A2_Optimized_OptionsManager::newuser_wizard_html()
A
41 5 81
A2_Optimized_Plugin::captcha_authenticate()
A
55 9 17
A2_Optimized_Cache_Disk::create_cache_files()
A
48 8 30
A2_Optimized_Cache::clear_site_cache_by_blog_id()
A
51 8 27
WP_Object_Cache::stats()
A
50 8 26
A2_Optimized_OptionsManager::roleToCapability()
A
57 8 19
A2_Optimized_Plugin::captcha_comment_authenticate()
A
55 8 19
WP_Object_Cache::get_multi()
A
48 7 33
A2_Optimized_Cache_Disk::minify_html()
A
49 7 33
A2_Optimized_OptionsManager::write_htaccess()
S
43 5 57
WP_Object_Cache::add()
S
53 7 21
A2_Optimized_Cache_Disk::get_site_objects()
S
54 7 20
A2_Optimized_Cache_Disk::cache_size()
S
54 7 20
A2_Optimized_Cache::validate_memcached()
S
49 6 31
A2_Optimized_Optimizations::check_server_gzip()
S
58 7 14
A2_Optimized_Cache::on_upgrade()
S
61 7 12
A2_Optimized::showUpgradeNotification()
S
52 6 23
A2_Optimized_OptionsManager::recaptcha_settings_html()
S
43 3 68
A2_Optimized_Cache_Disk::get_settings()
S
55 6 20
A2_Optimized_Cache_Disk::clear_dir()
S
56 6 18
A2_Optimized_Plugin::is_ip_in_range()
S
57 6 17
WP_Object_Cache::set()
S
56 6 17
A2_Optimized_Cache::add_admin_bar_items()
S
49 5 32
A2_Optimized_Cache_Engine::is_wrong_permalink_structure()
S
58 6 16
A2_Optimized_Cache_Engine::deliver_cache()
S
56 6 16
A2_Optimized_Cache::clear_taxonomies_archives_cache_by_post_id()
S
58 6 14
A2_Optimized_Cache::get_permalink_structure()
S
61 6 12
A2_Optimized_OptionsManager::config_file_path()
S
62 6 11
A2_Optimized_OptionsManager::writeSalts()
S
52 5 24
A2_Optimized_Cache_Disk::convert_webp()
S
52 5 24
A2_Optimized_Plugin::client_is_automattic()
S
55 5 22
A2_Optimized_Cache_Disk::cache_file_dir_path()
S
55 5 20
A2_Optimized_OptionsManager::get_w3tc_defaults()
S
38 1 78
A2_Optimized_OptionsManager::is_valid_w3tc_installed()
S
58 5 17
A2_Optimized_Cache_Disk::create_settings_file()
S
51 4 27
A2_Optimized_Cache::cache_cleared_notice()
S
61 5 12
A2_Optimized_Plugin::incompatible_plugin_notice()
S
52 4 24
A2_Optimized_Plugin::rwl_notice()
S
54 4 22
A2_Optimized_Plugin::login_captcha()
S
57 4 19
A2_Optimized_OptionsManager::get_current_w3tc_version()
S
57 4 17
A2_Optimized_Plugin::block_xmlrpc_request()
S
60 4 15
WP_Object_Cache::flush()
S
63 5 10
A2_Optimized_Cache_Engine::end_buffering()
S
63 5 10
A2_Optimized_Cache_Engine::is_cacheable()
S
63 5 9
A2_Optimized_Plugin::initOptions()
S
63 5 10
A2_Optimized_Plugin::comment_captcha()
S
59 4 15
A2_Optimized_OptionsManager::checkUserCapability()
S
60 4 14
A2_Optimized_OptionsManager::upgrade_wizard_html()
S
48 2 43
WP_Object_Cache::replace()
S
60 4 13
A2_Optimized_Cache_Engine::__construct()
S
61 4 13
A2_Optimized_Cache::validate_regex()
S
60 4 13
A2_Optimized_OptionsManager::update_w3tc()
S
60 4 12
A2_Optimized_Cache::clear_cache_on_post_save()
S
62 4 11
A2_Optimized_Cache::validate_settings()
S
51 3 26
A2_Optimized_Cache_Disk::cache_expired()
S
61 4 11
A2_Optimized_Cache::__construct()
S
45 2 40
A2_Optimized_OptionsManager::hit_the_w3tc_page()
S
53 3 22
A2_Optimized::__construct()
S
57 3 16
A2_Optimized_Cache::update_backend()
S
57 3 16
WP_Object_Cache::delete()
S
58 3 15
A2_Optimized_Cache::get_settings()
S
67 4 7
A2_Optimized_Cache::on_transition_comment_status()
S
65 4 9
A2_Optimized_Cache_Engine::is_mobile()
S
76 4 3
A2_Optimized_Cache_Disk::cache_file_scheme()
S
75 4 3
A2_Optimized_Cache::each_site()
S
60 3 14
A2_Optimized_OptionsManager::cache_settings_save()
S
61 3 12
A2_Optimized_Plugin::remove_xmlrpc_methods()
S
64 3 11
WP_Object_Cache::key()
S
62 3 11
A2_Optimized_Cache::get_default_settings()
S
52 2 26
A2_Optimized_OptionsManager::enable_w3tc_cache()
S
57 2 18
A2_Optimized_Plugin::permalink_changed()
S
56 2 17
A2_Optimized_Cache::on_post_updated()
S
69 3 7
A2_Optimized_OptionsManager::enable_a2_object_cache()
S
66 3 8
A2_Optimized::dequeue_woocommerce_cart_fragments()
S
73 3 5
A2_Optimized_Cache::on_transition_post_status()
S
71 3 5
A2_Optimized_Cache::on_comment_post()
S
66 3 9
A2_Optimized_Cache::on_edit_comment()
S
64 3 10
A2_Optimized_Cache::clear_page_cache_by_post_id()
S
65 3 9
A2_Optimized_OptionsManager::checkUserRole()
S
66 3 8
A2_Optimized_OptionsManager::getOption()
S
67 3 8
A2_Optimized_Plugin::get_recaptcha_public_key()
S
66 3 9
A2_Optimized_OptionsManager::enable_w3tc_page_cache()
S
61 2 13
A2_Optimized_Plugin::deactivate()
S
60 2 13
A2_Optimized_OptionsManager::uninstall_plugin()
S
63 2 11
A2_Optimized_CLI::memcached_server()
S
62 2 11
A2_Optimized_OptionsManager::getRandomString()
S
62 2 11
A2_Optimized_Plugin::addAdminBar()
S
63 2 11
A2_Optimized_Plugin::a2_dashboard_widget()
S
62 1 24
A2_Optimized_OptionsManager::plugin_not_active_warning()
S
59 1 20
A2_Optimized_Plugin::dashboard_widget()
S
56 1 19
A2_Optimized_OptionsManager::warning_display()
S
60 1 18
A2_Optimized_OptionsManager::regenerate_wpconfig_salts()
S
58 1 16
A2_Optimized_OptionsManager::kb_searchbox_html()
S
66 1 16
A2_Optimized_OptionsManager::set_nomods()
S
69 2 7
A2_Optimized_Cache::on_plugin_activation_deactivation()
S
74 2 5
A2_Optimized_Cache::on_a2opt_update()
S
68 2 7
A2_Optimized_Cache::on_woocommerce_stock_update()
S
68 2 8
A2_Optimized_Plugin::upgrade()
S
73 2 5
A2_Optimized_Cache_Disk::get_dir_objects()
S
65 2 9
A2_Optimized_Cache::get_blog_path()
S
66 2 7
A2_Optimized_Optimizations::get_private_optimizations()
S
67 2 8
A2_Optimized_Optimizations::get_optimizations()
S
66 2 8
A2_Optimized_Plugin::getPluginHeaderValue()
S
64 2 9
A2_Optimized_Cache::clear_associated_cache()
S
67 2 8
A2_Optimized_Cache_Disk::delete_parent_dir()
S
65 2 9
A2_Optimized_Cache::get_cache_size()
S
66 2 8
A2_Optimized_OptionsManager::is_plugin_installed()
S
69 2 7
A2_Optimized_Cache::clear_post_type_archives_cache()
S
70 2 6
A2_Optimized_Cache::on_save_post()
S
73 2 5
A2_Optimized_Cache_Disk::delete_asset()
S
71 2 6
A2_Optimized_OptionsManager::set_install_status()
S
71 2 6
A2_Optimized_Cache::install_later()
S
67 2 8
A2_Optimized_Cache::get_blog_ids()
S
66 2 8
A2_Optimized_OptionsManager::deactivate_plugin()
S
69 2 7
A2_Optimized_Cache_Engine::start()
S
72 2 6
WP_Object_Cache::get_mc()
S
71 2 6
A2_Optimized_Optimizations::get_private_advanced()
S
67 2 8
A2_Optimized_Cache::on_trash_post()
S
70 2 6
A2_Optimized_OptionsManager::set_lockdown()
S
69 2 7
A2_Optimized_OptionsManager::set_deny_direct()
S
69 2 7
A2_Optimized_Cache_Engine::is_index()
S
70 2 6
A2_Optimized_Cache::get_blog_paths()
S
67 2 8
A2_Optimized_Cache_Engine::is_search()
S
71 2 6
A2_Optimized_OptionsManager::is_a2()
S
72 2 6
A2_Optimized_OptionsManager::getPluginHeaderValue()
S
64 2 9
A2_Optimized_OptionsManager::isUserRoleEqualOrBetterThan()
S
69 2 7
A2_Optimized_OptionsManager::prefix()
S
68 2 7
A2_Optimized_Optimizations::get_private_warnings()
S
67 2 8
A2_Optimized_Cache::user_can_clear_cache()
S
70 2 6
A2_Optimized_Cache_Disk::clean()
S
63 2 10
A2_Optimized_Cache_Disk::cache_page()
S
71 2 6
A2_Optimized_OptionsManager::clear_w3_total_cache()
S
78 2 4
A2_Optimized_OptionsManager::get_w3tc_config()
S
67 2 8
A2_Optimized_Plugin::is_xmlrpc_request()
S
79 2 3
wp_cache_set()
S
66 2 8
WP_Object_Cache::add_non_persistent_groups()
S
69 2 7
A2_Optimized_OptionsManager::get_plugins()
S
70 2 7
WP_Object_Cache::add_global_groups()
S
69 2 7
A2_Optimized_Plugin::addSettingsSubMenuPageToMenu()
S
62 1 13
A2_Optimized_OptionsManager::curl_save_w3tc()
S
60 1 13
A2_Optimized_Plugin::divi_notice()
S
64 1 12
A2_Optimized_Plugin::update_notice()
S
63 1 12
A2_Optimized_Plugin::addSettingsSubMenuPageToPluginsMenu()
S
63 1 12
A2_Optimized_Plugin::addSettingsSubMenuPageToDashboard()
S
64 1 11
A2_Optimized_Plugin::addSettingsSubMenuPageToSettingsMenu()
S
64 1 11
WP_Object_Cache::colorize_debug_line()
S
61 1 11
A2_Optimized_Cache::clear_date_archives_cache_by_post_id()
S
62 1 11
A2_Optimized_Plugin::w3totalcache_plugin_notice()
S
65 1 11
A2_Optimized_OptionsManager::curl()
S
67 1 8
A2_Optimized_Cache::register_textdomain()
S
79 1 3
A2_Optimized_OptionsManager::get_advanced_optimizations()
S
82 1 3
A2_Optimized_Plugin::getSettingsSlug()
S
79 1 3
A2_Optimized_OptionsManager::regenerate_wpconfig_desc()
S
77 1 4
A2_Optimized_OptionsManager::getPluginDir()
S
80 1 3
A2_Optimized_Plugin::getPluginDisplayName()
S
82 1 3
A2_Optimized_Cache_Disk::create_cache_file()
S
64 1 9
A2_Optimized_Plugin::install()
S
73 1 6
A2_Optimized_OptionsManager::disable_w3tc_db_cache()
S
73 1 5
A2_Optimized_OptionsManager::enable_a2_page_cache()
S
74 1 5
A2_Optimized_OptionsManager::getOptionMetaData()
S
82 1 3
A2_Optimized_Plugin::uninstall()
S
82 1 3
A2_Optimized_OptionsManager::enable_html_minify()
S
68 1 8
A2_Optimized_OptionsManager::enable_w3tc_object_cache()
S
71 1 6
A2_Optimized_Plugin::kb_dashboard_widget()
S
74 1 7
A2_Optimized_Plugin::setVersionSaved()
S
79 1 3
A2_Optimized_OptionsManager::get_lockdown()
S
80 1 3
A2_Optimized_OptionsManager::enable_a2_page_cache_minify_jscss()
S
67 1 8
A2_Optimized_Plugin::wordfence_plugin_notice()
S
67 1 10
A2_Optimized_OptionsManager::disable_xmlrpc_requests()
S
81 1 3
A2_Optimized_Cache_Disk::cache_signature()
S
69 1 7
A2_Optimized_Optimizations::__construct()
S
71 1 6
A2_Optimized_OptionsManager::activate_plugin()
S
73 1 5
A2_Optimized_Cache::clear_author_archives_cache_by_user_id()
S
69 1 6
A2_Optimized_Cache::on_activation()
S
75 1 4
A2_Optimized_Plugin::isInstalled()
S
79 1 3
A2_Optimized_OptionsManager::get_deny_direct()
S
80 1 3
A2_Optimized_OptionsManager::enable_xmlrpc_requests()
S
80 1 3
A2_Optimized_OptionsManager::enable_a2_page_cache_gzip()
S
68 1 7
A2_Optimized_OptionsManager::disable_html_minify()
S
70 1 7
wp_cache_get_multi()
S
76 1 4
A2_Optimized_OptionsManager::refresh_w3tc()
S
82 1 3
A2_Optimized_OptionsManager::updateOption()
S
75 1 4
A2_Optimized_OptionsManager::disable_a2_page_cache_gzip()
S
70 1 6
A2_Optimized_Plugin::requireExtraPluginFiles()
S
80 1 3
A2_Optimized_Cache_Disk::cache_exists()
S
80 1 3
A2_Optimized_OptionsManager::disable_woo_cart_fragments()
S
77 1 4
wp_cache_delete()
S
76 1 4
WP_Object_Cache::decr()
S
69 1 6
A2_Optimized_OptionsManager::getVersion()
S
80 1 3
A2_Optimized_Plugin::addSettingsSubMenuPage()
S
82 1 3
A2_Optimized_Plugin::myStyleSheet()
S
78 1 3
A2_Optimized_Plugin::get_moved_login()
S
76 1 4
wp_cache_init()
S
77 1 4
A2_Optimized_Plugin::installDatabaseTables()
S
91 1 2
A2_Optimized_OptionsManager::get_nomods()
S
80 1 3
A2_Optimized_OptionsManager::disable_w3tc_browser_cache()
S
73 1 5
A2_Optimized_OptionsManager::disable_a2_page_cache_minify_jscss()
S
70 1 6
A2_Optimized_OptionsManager::enable_w3tc_browser_cache()
S
73 1 5
A2_Optimized_Plugin::getPluginDir()
S
80 1 3
A2_Optimized_Cache::on_deactivation()
S
75 1 4
A2_Plugin_Installer_Skin::error()
S
91 1 2
A2_Optimized_OptionsManager::getOptionNamePrefix()
S
79 1 3
A2_Optimized_OptionsManager::get_memcached_server()
S
80 1 3
A2_Optimized_Cache::clear_page_cache_by_url()
S
79 1 3
A2_Optimized_OptionsManager::recaptcha_settings_save()
S
70 1 6
A2_Optimized_Plugin::config_page_notice()
S
68 1 9
WP_Object_Cache::close()
S
91 1 2
A2_Optimized_Cache::get_cache_cleared_transient_name()
S
75 1 4
A2_Optimized_OptionsManager::disable_a2_page_cache_minify_html()
S
68 1 7
A2_Optimized_OptionsManager::disable_w3tc_object_cache()
S
73 1 5
A2_Optimized_Cache_Disk::cache_file_webp_gzip()
S
78 1 3
A2_Optimized_OptionsManager::enable_w3tc_gzip()
S
69 1 7
A2_Optimized_OptionsManager::__construct()
S
91 1 2
A2_Optimized_Cache::on_uninstall()
S
79 1 3
A2_Optimized_Cache::uninstall_backend()
S
80 1 3
A2_Optimized_OptionsManager::disable_a2_object_cache()
S
72 1 5
A2_Optimized_Cache_Disk::delete_settings_file()
S
73 1 5
A2_Optimized_OptionsManager::get_a2_token()
S
79 1 3
A2_Optimized_OptionsManager::addOption()
S
75 1 4
A2_Optimized_Plugin::plugin_settings_link()
S
73 1 5
A2_Optimized_Plugin::getMainPluginFileName()
S
82 1 3
A2_Optimized_Cache::init()
S
81 1 3
A2_Optimized_Plugin::getOptionMetaData()
S
74 1 5
A2_Optimized::A2_Optimized_noticePhpVersionWrong()
S
65 1 8
A2_Optimized_Plugin::getVersion()
S
80 1 3
A2_Optimized_Plugin::saveInstalledVersion()
S
81 1 3
A2_Optimized_OptionsManager::is_a2_managed()
S
80 1 3
A2_Optimized_Cache_Disk::cache_file_webp_html()
S
78 1 3
wp_cache_set_multi()
S
74 1 4
A2_Optimized_OptionsManager::enable_woo_cart_fragments()
S
76 1 4
wp_cache_replace()
S
75 1 4
A2_Optimized_Optimizations::get_advanced()
S
73 1 5
A2_Optimized_OptionsManager::deleteOption()
S
76 1 4
A2_Optimized_OptionsManager::get_plugin_description()
S
73 1 6
A2_Optimized_Cache_Disk::cache_file_html()
S
78 1 3
A2_Optimized_Plugin::clientip_whitelisted()
S
82 1 3
A2_Optimized_Plugin::activate()
S
76 1 4
A2_Optimized_OptionsManager::disable_w3tc_gzip()
S
69 1 7
A2_Optimized_Cache::get_cache_size_transient_name()
S
77 1 4
A2_Optimized_OptionsManager::set_a2_token()
S
69 1 6
WP_Object_Cache::incr()
S
69 1 6
A2_Optimized_OptionsManager::enable_w3tc_db_cache()
S
71 1 6
A2_Optimized_Cache::register_settings()
S
75 1 4
wp_cache_flush()
S
77 1 4
A2_Optimized_Cache_Engine::start_buffering()
S
80 1 3
wp_cache_get()
S
75 1 4
wp_cache_add()
S
75 1 4
wp_cache_add_non_persistent_groups()
S
77 1 4
A2_Optimized_Cache::uninstall_later()
S
73 1 5
wp_cache_add_global_groups()
S
77 1 4
wp_cache_decr()
S
75 1 4
A2_Optimized_OptionsManager::disable_a2_page_cache()
S
74 1 5
A2_Optimized_Plugin::locked_files_notice()
S
67 1 10
A2_Optimized_Cache::on_update_backend()
S
80 1 3
wp_cache_close()
S
77 1 4
A2_Optimized_Server_Info::__construct()
S
77 1 4
A2_Optimized_Cache_Disk::setup()
S
75 1 4
A2_Optimized_Plugin::addLockedEditor()
S
74 1 4
A2_Optimized_Cache_Disk::cache_file_gzip()
S
78 1 3
A2_Optimized_OptionsManager::get_optimizations()
S
82 1 3
wp_cache_incr()
S
75 1 4
A2_Optimized_Cache::clear_complete_cache()
S
75 1 4
A2_Optimized_Plugin::markAsInstalled()
S
79 1 3
A2_Optimized_Plugin::markAsUnInstalled()
S
80 1 3
A2_Optimized_Plugin::wordfence_waf_check()
S
74 1 4
A2_Optimized_Cache_Disk::image_path()
S
65 1 8
A2_Optimized_OptionsManager::disable_w3tc_page_cache()
S
73 1 5
A2_Optimized_Cache_Disk::get_settings_file()
S
68 1 8
A2_Optimized_Optimizations::get_warnings()
S
73 1 5
A2_Optimized_Cache::clear_site_cache()
S
80 1 3
A2_Optimized_OptionsManager::enable_w3_total_cache()
S
69 1 7
A2_Optimized_OptionsManager::enable_a2_page_cache_minify_html()
S
68 1 7
A2_Optimized_Plugin::not_locked_files_notice()
S
67 1 10
A2_Optimized_OptionsManager::disable_w3tc_cache()
S
68 1 8