Code Analysis: SpeedyCache 1.0.1

Function Rating Maintainability Complexity Lines of code
speedycache_settings_page()
D
0
125 1,802
speedycache_save_settings()
D
12
135 163
SpeedyCache\Cache::allowed()
D
30 52 93
SpeedyCache\Cache::callback()
D
26
45 130
SpeedyCache\Cache::create_dir()
D
33 39 83
SpeedyCache\Precache::create()
D
31 34 98
SpeedyCache\CDN::replace_urls()
C
33 30 83
SpeedyCache\Delete::single_cache()
C
34 26 85
SpeedyCache\Cache::set_file_path()
C
40 26 50
SpeedyCache\CDN::check_url()
C
38 25 61
SpeedyCache\JS::combine()
B
37 23 71
SpeedyCache\Cache::exclude_page()
B
41 24 50
SpeedyCache\Delete::on_status_transitions()
B
44 24 40
SpeedyCache\Cache::is_cacheable()
B
40 23 54
SpeedyCache\Delete::home_page_cache()
B
37 21 73
SpeedyCache\CSS::combine_css()
B
37 18 71
SpeedyCache\htaccess::webp()
B
38 18 71
SpeedyCache\htaccess::modify()
B
37 17 67
SpeedyCache\htaccess::get()
B
34 15 96
speedycache_save_timeout_pages_callback()
B
44 18 38
SpeedyCache\Delete::cache()
B
42 16 49
speedycache_load_plugin()
A
40 15 53
SpeedyCache\Precache::statistic()
A
41 15 49
SpeedyCache\Cache::create()
A
44 15 41
SpeedyCache\CSS::file_get_contents_curl()
A
45 15 40
SpeedyCache\CDN::cloudflare_zone_id()
A
43 14 44
SpeedyCache\Cache::can_create()
A
50 15 27
SpeedyCache\CDN::cloudflare_purge()
A
45 14 39
SpeedyCache\CDN::save()
A
43 13 48
SpeedyCache\CSS::minify()
A
43 13 47
SpeedyCache\Precache::custom_posts_url()
A
46 13 34
SpeedyCache\CSS::new_img_path()
A
43 12 48
speedycache_create_auto_cache_timeout()
A
47 13 32
SpeedyCache\Precache::is_excluded()
A
46 12 37
SpeedyCache\CSS::comment_cb()
A
46 11 39
SpeedyCache\CSS::set_tags()
A
51 12 23
speedycache_get_content_url()
A
51 12 22
speedycache_set_schedule()
A
45 11 37
SpeedyCache\Delete::scheduled_delete()
A
45 11 37
SpeedyCache\Precache::taxonomies_url()
A
46 11 36
SpeedyCache\CDN::cloudflare_change_settings()
A
48 11 32
SpeedyCache\Delete::rm_dir()
A
49 11 30
SpeedyCache\JS::extract_links()
A
49 11 28
SpeedyCache\Cache::ignored()
A
45 10 42
speedycache_options_page_request()
A
47 10 36
SpeedyCache\CDN::remove()
A
48 10 33
SpeedyCache\htaccess::exclude_rules()
A
48 10 33
speedycache_get_timeout_rules()
A
48 10 32
SpeedyCache\Precache::tags_url()
A
48 10 31
SpeedyCache\Precache::categories_url()
A
48 10 31
speedycache_other_plugins_actions()
A
49 10 30
SpeedyCache\Cache::detect_current_page_type()
A
52 10 26
SpeedyCache\Cache::is_amp()
A
51 10 26
SpeedyCache\Cache::is_wptouch_smartphone()
A
51 10 24
SpeedyCache\Precache::pages_url()
A
51 10 23
SpeedyCache\Precache::posts_url()
A
51 10 23
SpeedyCache\Precache::attachments_url()
A
51 10 23
speedycache_is_mobile()
A
53 10 22
SpeedyCache\CDN::bunny_get_pull_id()
A
46 9 36
speedycache_delete_current_page_cache()
A
47 9 35
SpeedyCache\CDN::pause()
A
50 9 28
SpeedyCache\CDN::start()
A
50 9 28
SpeedyCache\Precache::schedule()
A
51 9 27
speedycache_get_wp_content_dir()
A
52 9 22
SpeedyCache\Delete::multiple_domain_mapping_cache()
A
53 9 21
speedycache_cli::purge()
A
54 9 21
speedycache_get_server_time()
A
46 8 36
speedycache_check_auto_cache()
A
56 9 16
speedycache_check_cache_path_writeable()
A
50 8 31
SpeedyCache\CDN::bunny_purge()
A
50 8 27
SpeedyCache\CSS::prepare_for_combine()
A
50 8 26
SpeedyCache\JS::get_url_content()
A
52 8 24
speedycache_read_file()
A
52 8 23
SpeedyCache\CDN::cloudflare_set_browser_caching()
A
51 8 23
SpeedyCache\CDN::cloudflare_disable_minify()
A
51 8 23
SpeedyCache\CDN::cloudflare_disable_rocket_loader()
A
51 8 23
speedycache_load_license()
A
53 8 21
speedycache_cdn_actions_tmpl()
A
54 8 20
SpeedyCache\CSS::check_exclude()
A
54 8 20
speedycache_check_htaccess()
A
44 6 50
SpeedyCache\JS::check_exclude()
A
55 8 17
speedycache_exclude_urls()
S
50 7 29
SpeedyCache\CSS::find_tags()
S
51 7 26
SpeedyCache\Delete::cache_of_term()
S
50 7 26
SpeedyCache\htaccess::prefix_redirect()
S
51 7 25
SpeedyCache\CDN::purge()
S
53 7 24
SpeedyCache\CSS::svg_to_file()
S
51 7 24
speedycache_page_header()
S
51 7 24
SpeedyCache\CSS::set_except_tags()
S
52 7 23
SpeedyCache\htaccess::get_rewrite_base()
S
54 7 20
SpeedyCache\JS::check_internal()
S
55 7 19
SpeedyCache\TPP::postratings_clear_cache()
S
55 7 18
speedycache_cron_add_minute()
S
36 1 108
speedycache_load_admin_toolbar()
S
56 7 17
SpeedyCache\Precache::home_urls()
S
57 7 15
speedycache_check_cron()
S
57 7 15
speedycache_clear_cache_of_allsites_callback()
S
56 7 15
SpeedyCache\Metabox::save_settings()
S
59 7 14
SpeedyCache\htaccess::admin_cookie()
S
50 6 29
speedycache_save_exclude_pages_callback()
S
49 6 29
SpeedyCache\JS::minify()
S
50 6 27
SpeedyCache\Cache::cache_date()
S
60 7 11
SpeedyCache\Precache::set_arr()
S
53 6 23
SpeedyCache\CSS::minify_css()
S
52 6 23
speedycache_toolbar_save_settings_callback()
S
52 6 23
SpeedyCache\JS::find_tags()
S
54 6 20
SpeedyCache\Cache::fix_pre_tag()
S
54 6 20
SpeedyCache\Cache::remove_url_params()
S
55 6 19
SpeedyCache\Cache::set_content_type()
S
55 6 19
SpeedyCache\htaccess::check_super_cache()
S
55 6 19
SpeedyCache\TPP::clear_cache_after_woocommerce_order_status_changed()
S
57 6 17
SpeedyCache\CDN::cloudflare_unset_zone_id()
S
58 6 14
SpeedyCache\Cache::set_cdn()
S
52 5 25
speedycache_update_image_list_ajax_request()
S
46 4 40
SpeedyCache\CSS::woff_to_file()
S
53 5 22
SpeedyCache\JS::merge()
S
52 5 22
SpeedyCache\Toolbar::tweak_on_admin_panel()
S
48 4 36
speedycache_menu_page()
S
53 5 20
SpeedyCache\AutoCache::set_term_urls()
S
54 5 19
SpeedyCache\CSS::fix_import_rules()
S
56 5 18
speedycache_delete_binaries()
S
57 5 17
speedycache_img_optimize_image_ajax_request()
S
57 5 16
speedycache_update_plugin_path()
S
58 5 16
SpeedyCache\htaccess::browser_cache()
S
48 3 46
SpeedyCache\CDN::cloudflare_save_zone_id()
S
58 5 14
SpeedyCache\CDN::cloudflare_zone_id_value()
S
60 5 13
SpeedyCache\JS::extract_links_except()
S
59 5 13
SpeedyCache\Delete::update_cache_status()
S
60 5 12
SpeedyCache\Delete::update_minified_status()
S
60 5 12
SpeedyCache\Cache::last_error()
S
63 5 11
speedycache_add_javascript()
S
52 4 23
SpeedyCache\Cache::init()
S
53 4 23
speedycache_file_type()
S
55 4 18
SpeedyCache\Cache::is_wp_login()
S
65 5 8
SpeedyCache\Cache::check_html()
S
63 5 10
SpeedyCache\Precache::set()
S
58 4 15
SpeedyCache\CSS::create_content()
S
60 4 14
SpeedyCache\CSS::to_inline()
S
60 4 14
speedycache_is_trailing_slash()
S
62 4 13
speedycache_toolbar_get_settings_callback()
S
60 4 12
SpeedyCache\CSS::check_internal()
S
61 4 12
speedycache_autoloader()
S
62 4 11
SpeedyCache\Cache::is_password_protected()
S
63 4 11
SpeedyCache\htaccess::cloudflare_web_opt()
S
61 4 11
speedycache_remote_get()
S
61 4 11
speedycache_page_footer()
S
59 3 22
SpeedyCache\Install::activate()
S
55 3 20
SpeedyCache\Cache::cdn_rewrite()
S
57 3 18
SpeedyCache\Toolbar::tweak_on_frontpage()
S
50 2 33
speedycache_get_abspath()
S
57 3 17
SpeedyCache\htaccess::gzip()
S
53 2 32
speedycache_db_statics_callback()
S
56 3 16
SpeedyCache\CSS::is_internal_css()
S
57 3 16
speedycache_promotion_tmpl()
S
53 1 45
SpeedyCache\TPP::clear_after_update_theme()
S
66 4 8
SpeedyCache\TPP::clear_after_update_plugin()
S
66 4 8
speedycache_clean()
S
66 4 9
speedycache_img_update_settings()
S
59 3 14
SpeedyCache\Toolbar::add()
S
60 3 14
SpeedyCache\AutoCache::init()
S
61 3 13
SpeedyCache\CSS::tags_reorder()
S
61 3 13
SpeedyCache\AutoCache::set_urls()
S
60 3 13
speedycache_update_check()
S
60 3 13
SpeedyCache\Install::deactivate()
S
60 3 12
SpeedyCache\Cache::disable_emojis()
S
60 3 12
speedycache_ajax_verify()
S
62 3 11
SpeedyCache\Metabox::html()
S
58 2 16
speedycache_cache_statics_get_callback()
S
65 3 8
SpeedyCache\CDN::cloudflare_remove_webp()
S
66 3 8
SpeedyCache\CDN::options()
S
64 3 10
SpeedyCache\AutoCache::is_mobile_active()
S
68 3 7
speedycache_get_server_time_ajax_request()
S
63 3 10
speedycache_is_plugin_active_for_network()
S
65 3 10
speedycache_sanitize_url()
S
69 3 6
speedycache_optserver()
S
77 3 3
speedycache_db_fix_callback()
S
64 3 9
speedycache_notify()
S
68 3 7
speedycache_img_revert_image_ajax_request()
S
63 3 10
SpeedyCache\CSS::fix_charset()
S
63 3 10
SpeedyCache\Cache::is_commenter()
S
74 3 4
SpeedyCache\CDN::cloudflare_generate_header()
S
60 2 15
SpeedyCache\Cache::create_name()
S
63 3 9
SpeedyCache\htaccess::http_rule()
S
63 3 10
speedycache_get_mobile_browsers()
S
53 1 26
SpeedyCache\CSS::update_links()
S
60 2 11
SpeedyCache\htaccess::rewrite_rule()
S
62 2 11
speedycache_get_operating_systems()
S
58 1 19
speedycache_exclude_source()
S
62 1 16
SpeedyCache\htaccess::gtranslate_rules()
S
66 2 8
speedycache_optget()
S
71 2 6
speedycache_is_plugin_active()
S
77 2 3
speedycache_action_links()
S
66 2 7
speedycache_column_delete_cache_link()
S
63 2 9
SpeedyCache\AutoCache::set_urls_with_terms()
S
66 2 7
speedycache_optpost()
S
71 2 6
SpeedyCache\htaccess::wp_content()
S
65 2 8
speedycache_is_dir_install()
S
71 2 6
SpeedyCache\Delete::edit_comment()
S
73 2 5
SpeedyCache\htaccess::add_exclude()
S
64 2 9
SpeedyCache\Delete::fonts()
S
70 2 6
SpeedyCache\Metabox::disable_cache()
S
69 2 7
SpeedyCache\Delete::sitemap_cache()
S
69 2 6
speedycache_specify_source()
S
63 1 15
SpeedyCache\Cache::set_exclude_rules()
S
68 2 7
speedycache_verify_nonce()
S
72 2 5
speedycache_img_statics_ajax_request()
S
68 2 7
SpeedyCache\htaccess::new_user()
S
64 2 9
speedycache_cli::delete_cache()
S
67 2 8
SpeedyCache\TPP::clear_cache_after_woo_update_product()
S
70 2 6
SpeedyCache\Delete::author_page_cache()
S
63 2 10
speedycache_cache()
S
70 2 6
speedycache_mts_init()
S
64 2 9
SpeedyCache\Delete::comment_post()
S
74 2 5
SpeedyCache\htaccess::warning_incompatible()
S
69 2 6
SpeedyCache\CSS::extract()
S
62 1 12
SpeedyCache\Metabox::add()
S
64 1 11
speedycache_delete_css_and_js_cache_toolbar()
S
82 1 3
speedycache_enqueue_instant_page()
S
78 1 3
SpeedyCache\CSS::apply_filter()
S
78 1 3
speedycache_admin_footer_text()
S
67 1 7
speedycache_column_clear_cache()
S
74 1 4
speedycache_license_page_callback()
S
77 1 4
speedycache_img_revert_all_ajax()
S
81 1 3
speedycache_settings_page_include()
S
70 1 6
speedycache_load_plugin_textdomain()
S
79 1 3
speedycache_delete_cache_toolbar()
S
83 1 3
speedycache_died()
S
82 1 3
SpeedyCache\JS::init()
S
64 1 10
SpeedyCache\CSS::convert_path_to_link()
S
71 1 5
SpeedyCache\CSS::process()
S
66 1 8
SpeedyCache\Toolbar::css()
S
78 1 3
speedycache_admin_load()
S
80 1 3
speedycache_delete_home_page_cache()
S
80 1 3
SpeedyCache\Toolbar::inline_script()
S
79 1 7
SpeedyCache\AutoCache::create_cache()
S
75 1 4
speedycache_enqueue_admin_scripts()
S
74 1 4
speedycache_load_mobile_theme()
S
77 1 4
speedycache_save_button()
S
83 1 3
speedycache_set_custom_interval()
S
80 1 3
SpeedyCache\TPP::clear_cache_on_kksr_rate()
S
80 1 3
speedycache_current_url()
S
79 1 3
SpeedyCache\JS::path_to_link()
S
71 1 5
speedycache_delete_cache()
S
78 1 3
speedycache_print()
S
75 1 5
SpeedyCache\Cache::print_scripts_action()
S
82 1 3
speedycache_single_delete_cache()
S
79 1 3
SpeedyCache\Toolbar::js()
S
67 1 7
speedycache_get_mobile_user_agents()
S
78 1 3
SpeedyCache\CSS::fix_paths_in_css_content()
S
64 1 9
speedycache_get_excluded_useragent()
S
83 1 3
speedycache_load_mobile_style()
S
77 1 4