Code Analysis: Cachify 2.4.1

Function Rating Maintainability Complexity Lines of code
Cachify::_skip_cache()
C
40 31 48
Cachify_REDIS::sanitize_con_parameters()
A
49 14 31
Cachify_HDD::_user_can_delete()
A
45 13 42
Cachify_HDD::_clear_dir()
A
51 10 26
Cachify::flush_cache()
A
48 9 35
Cachify::_set_default_vars()
A
50 8 30
Cachify::validate_options()
A
50 8 26
Cachify::process_flush_request()
A
53 8 23
Cachify_REDIS::_connect_server()
S
53 7 23
Cachify::options_page()
S
47 6 37
Cachify::_minify_cache()
S
48 6 37
Cachify::__construct()
S
42 5 49
Cachify::publish_post_types()
S
58 6 16
Cachify::add_flush_icon()
S
50 5 28
Cachify_HDD::_dir_size()
S
54 5 22
Cachify::_get_tabs()
S
54 5 20
Cachify_MEMCACHED::_connect_server()
S
50 4 34
Cachify::flush_cache_for_posts()
S
57 5 18
Cachify::_is_logged_in()
S
60 5 14
Cachify::add_dashboard_count()
S
48 3 39
Cachify_DB::_cache_signature()
S
49 3 38
Cachify_HDD::_file_path()
S
57 4 16
Cachify::on_uninstall()
S
59 4 14
Cachify_MEMCACHED::get_stats()
S
60 4 14
Cachify_REDIS::get_stats()
S
61 4 13
Cachify::on_activation()
S
61 4 12
Cachify::set_cache()
S
53 3 27
Cachify::add_admin_resources()
S
62 4 12
Cachify::admin_notice_unavailable()
S
53 3 25
Cachify::manage_cache()
S
55 3 24
Cachify::add_flush_icon_script()
S
56 3 17
Cachify::comment_status()
S
66 4 9
Cachify::_is_mobile()
S
73 4 4
Cachify::flush_total_cache()
S
59 3 15
Cachify_MEMCACHED::store_item()
S
60 3 14
Cachify::register_publish_hooks()
S
59 3 14
Cachify_REDIS::store_item()
S
60 3 14
Cachify::comment_edit()
S
62 3 12
Cachify_HDD::_create_files()
S
62 3 11
Cachify_CLI::add_commands()
S
50 1 38
Cachify::register_flush_cache_hooks()
S
55 2 20
Cachify::action_links()
S
57 2 20
Cachify_DB::store_item()
S
56 2 19
Cachify::get_cache_size()
S
59 2 17
Cachify_MEMCACHED::is_available()
S
73 3 4
Cachify::on_deactivation()
S
65 3 9
Cachify::install_later()
S
67 3 8
Cachify_DB::print_cache()
S
64 3 10
Cachify::uninstall_later()
S
67 3 8
Cachify_MEMCACHED::clear_cache()
S
67 3 9
Cachify_HDD::print_cache()
S
68 3 7
Cachify::robots_txt()
S
65 3 9
Cachify::flush_notice()
S
65 3 9
Cachify::new_comment()
S
66 3 9
Cachify::post_update()
S
67 3 7
Cachify_HDD::_create_file()
S
58 2 15
Cachify::_cache_hash()
S
63 3 9
Cachify::row_meta()
S
62 2 12
Cachify_MEMCACHED::_cache_signature()
S
63 2 11
Cachify_HDD::_cache_signature()
S
63 2 11
Cachify_REDIS::_cache_signature()
S
63 2 11
Cachify::add_flush_rest_endpoint()
S
60 1 17
Cachify::_get_options()
S
58 1 17
cachify_autoload()
S
64 2 9
Cachify::admin_dashboard_styles()
S
70 2 6
Cachify_HDD::_file_html()
S
77 2 3
Cachify_HDD::is_gzip_enabled()
S
70 2 6
Cachify::remove_page_cache_by_post_id()
S
69 2 7
Cachify_HDD::store_item()
S
65 2 9
Cachify_MEMCACHED::get_item()
S
68 2 8
Cachify_REDIS::delete_item()
S
68 2 8
Cachify_CLI::get_cache_size()
S
63 2 10
Cachify::save_update_trash_post()
S
70 2 6
Cachify::remove_page_cache_by_url()
S
65 2 9
Cachify_REDIS::clear_cache()
S
71 2 6
Cachify_REDIS::_file_path()
S
64 2 10
Cachify_MEMCACHED::delete_item()
S
68 2 8
Cachify::get_dashicon_success_class()
S
69 2 7
Cachify_HDD::_file_gzip()
S
77 2 3
Cachify_REDIS::get_item()
S
68 2 8
Cachify_CLI::flush_cache()
S
65 2 9
Cachify_MEMCACHED::_file_path()
S
64 2 10
Cachify::flush_woocommerce()
S
68 2 8
Cachify_DB::_page_memory()
S
77 2 3
Cachify::register_styles()
S
61 1 14
Cachify::add_page()
S
64 1 12
Cachify_NOOP::clear_cache()
S
89 1 2
Cachify_DB::get_stats()
S
68 1 8
Cachify::_uninstall_backend()
S
76 1 4
Cachify::_install_backend()
S
70 1 7
Cachify::edit_comment()
S
78 1 3
Cachify_NOOP::__construct()
S
81 1 3
Cachify::admin_dashboard_dark_mode_styles()
S
79 1 3
Cachify_NOOP::store_item()
S
89 1 2
Cachify_HDD::delete_item()
S
75 1 5
Cachify_DB::stringify_method()
S
81 1 3
Cachify::_signature_details()
S
79 1 3
Cachify_NOOP::print_cache()
S
89 1 2
Cachify::register_textdomain()
S
80 1 3
Cachify_HDD::get_stats()
S
79 1 3
Cachify_DB::_page_timer()
S
79 1 3
Cachify_DB::_page_queries()
S
80 1 3
Cachify::add_cron_cache_expiration()
S
67 1 7
Cachify::run_hdd_cache_cron()
S
81 1 3
Cachify_DB::delete_item()
S
80 1 3
Cachify::register_settings()
S
67 1 10
Cachify_REDIS::is_available()
S
80 1 3
Cachify_HDD::stringify_method()
S
81 1 3
Cachify::_preg_split()
S
77 1 3
Cachify_REDIS::stringify_method()
S
81 1 3
Cachify_DB::is_available()
S
81 1 3
Cachify_NOOP::stringify_method()
S
81 1 3
Cachify_DB::get_item()
S
80 1 3
Cachify::_get_blog_ids()
S
75 1 4
Cachify::_is_index()
S
78 1 3
Cachify::user_can_manage_options()
S
80 1 3
Cachify::pre_comment()
S
75 1 4
Cachify::instance()
S
81 1 3
Cachify_NOOP::get_stats()
S
81 1 3
Cachify_REDIS::print_cache()
S
77 1 4
Cachify_NOOP::delete_item()
S
89 1 2
Cachify_NOOP::get_item()
S
81 1 3
Cachify_MEMCACHED::print_cache()
S
89 1 2
Cachify_HDD::get_item()
S
75 1 5
Cachify_MEMCACHED::stringify_method()
S
81 1 3
Cachify::touch_comment()
S
78 1 3
Cachify_HDD::clear_cache()
S
72 1 6
Cachify_DB::clear_cache()
S
75 1 4
Cachify_NOOP::is_available()
S
81 1 3
Cachify::register_scripts()
S
66 1 9
Cachify_HDD::is_available()
S
75 1 4
Cachify::_cache_expires()
S
79 1 3