Code Analysis: WP Fastest Cache 1.2.5

Function Rating Maintainability Complexity Lines of code
WpFastestCacheAdmin::optionsPage()
D
0
133 1,432
PreloadWPFC::create_preload_cache_default()
D
10
104 275
WpFastestCacheCreateCache::callback()
D
16
83 202
WpFastestCacheCreateCache::createCache()
D
19
79 161
WpFastestCache::__construct()
D
20
57 182
WpFastestCacheAdmin::modifyHtaccess()
D
32 37 88
WpFastestCacheCreateCache::createFolder()
D
35 37 72
PreloadWPFC::set_preload()
C
34 31 84
WpFastestCache::singleDeleteCache()
C
32 29 94
PreloadWPFC::create_preload_cache_sitemap()
C
31 28 103
WpFastestCacheCreateCache::set_cache_file_path()
C
38 30 61
JsUtilities::combine_js()
C
36 29 74
WpFastestCache::cdn_replace_urls()
C
36 28 69
CdnWPFC::check_url()
C
37 28 63
CssUtilities::combineCss()
C
33 25 93
WpFastestCacheCreateCache::exclude_page()
C
39 27 59
WpFastestCacheAdmin::getHtaccess()
C
33 22 95
WpFastestCache::on_all_status_transitions()
B
44 24 43
WpFastestCacheAdmin::insertWebp()
B
35 20 81
WpFastestCache::deleteCache()
B
37 19 74
WpFastestCache::wpfc_save_timeout_pages_callback()
B
42 19 43
WpFastestCache::deleteHomePageCache()
B
38 16 69
CdnWPFC::cloudflare_get_zone_id()
B
42 16 48
PreloadWPFC::statistic()
A
41 15 49
CssUtilities::minify()
A
43 15 45
CssUtilities::file_get_contents_curl()
A
44 15 43
VarnishWPFC::purge_cache()
A
41 14 53
WpFastestCache::getWpContentDir()
A
45 15 38
CdnWPFC::cloudflare_clear_cache()
A
45 14 40
WpFastestCache::setSchedule()
A
45 13 38
PreloadWPFC::is_excluded()
A
46 13 38
CdnWPFC::save_cdn_integration()
A
44 12 43
CssUtilities::newImgPath()
A
44 12 41
WpFastestCacheCreateCache::is_amp()
A
49 12 32
WpFastestCache::delete_current_page_cache()
A
44 11 44
WpFastestCacheAdmin::create_auto_cache_timeout()
A
49 12 28
CssUtilities::_commentCB()
A
46 11 40
wpfcCLI::clear()
A
46 11 38
CssUtilities::set_tags()
A
51 12 23
CdnWPFC::cloudflare_change_settings()
A
47 11 36
WpFastestCache::excludeRules()
A
48 11 32
JsUtilities::setJsLinks()
A
48 11 32
WpFastestCacheCreateCache::is_anymobilethemeswitcher_mobile()
A
50 11 30
WpFastestCache::rm_folder_recursively()
A
50 11 27
WpFastestCacheCreateCache::ignored()
A
45 10 41
WpFastestCache::set_content_url()
A
52 11 21
SinglePreloadWPFC::put_inline_js()
A
39 3 140
CdnWPFC::remove_cdn_integration()
A
48 10 32
WpFastestCache::specificDeleteCache()
A
48 10 32
WpFastestCacheCreateCache::detect_current_page_type()
A
53 10 23
WpFastestCache::wpfc_clear_cache_of_allsites_callback()
A
52 10 21
WpFastestCacheCreateCache::is_wptouch_smartphone()
A
48 9 32
WpFastestCacheAdmin::addCacheTimeout()
A
50 9 30
WpFastestCache::clear_cache_after_update_plugin()
A
57 10 15
CdnWPFC::pause_cdn_integration()
A
50 9 28
CdnWPFC::start_cdn_integration()
A
50 9 28
WpFastestCache::load_admin_toolbar()
A
51 9 23
WpFastestCache::wpfc_save_exclude_pages_callback()
A
46 8 37
WpFastestCacheCreateCache::exclude_current_page()
A
54 9 19
WpFastestCache::delete_multiple_domain_mapping_cache()
A
54 9 19
WpFastestCacheCreateCache::isMobile()
A
55 9 18
ClearingSpecificPagesWPFC::save()
A
48 8 33
WpFastestCacheAdmin::checkCachePathWriteable()
A
49 8 32
CssUtilities::check_exclude()
A
56 9 17
WpFastestCacheAdmin::exclude_urls()
A
49 8 30
WpFastestCache::delete_cache_of_term()
A
50 8 28
JsUtilities::file_get_contents_curl()
A
52 8 25
CdnWPFC::cloudflare_disable_minify()
A
51 8 25
WpFastestCache::wpfc_toolbar_save_settings_callback()
A
51 8 25
WpFastestCache::read_file()
A
52 8 24
WpFastestCacheCreateCache::remove_url_paramters()
A
53 8 24
CdnWPFC::cloudflare_disable_rocket_loader()
A
52 8 23
CdnWPFC::cloudflare_set_browser_caching()
A
52 8 23
WpFastestCacheAdmin::optionsPageRequest()
A
54 8 22
WpFastestCache::wp_postratings_clear_fastest_cache()
A
56 8 18
WpFastestCacheAdmin::check_htaccess()
A
49 7 32
WpFastestCacheAdmin::saveOption()
S
49 7 30
JsUtilities::check_exclude()
S
58 8 14
SinglePreloadWPFC::auto_cache_custom_box_html()
S
44 4 71
CssUtilities::svg_to_file()
S
51 7 26
WpFastestCache::clear_cache_after_update_theme()
S
62 8 11
CssUtilities::find_tags()
S
52 7 25
CssUtilities::minifyCss()
S
51 7 24
WpFastestCacheAdmin::getRewriteBase()
S
53 7 23
CssUtilities::set_except_tags()
S
53 7 22
WpFastestCache::move_folder_to_tmpWpfc()
S
54 7 21
JsUtilities::checkInternal()
S
54 7 20
WpFastestCache::cron_add_minute()
S
36 1 108
PreloadWPFC::create_preload_cache()
S
57 7 16
WpFastestCache::checkCronTime()
S
57 7 15
WpFastestCacheAdmin::insertGzipRule()
S
45 5 43
WpFastestCacheCreateCache::cacheDate()
S
60 7 12
CdnWPFC::cdn_template()
S
51 6 26
WpFastestCacheAdmin::prefixRedirect()
S
52 6 24
WpFastestCache::delete_next_prev_cache()
S
52 6 22
JsUtilities::find_tags()
S
54 6 21
ClearingSpecificPagesWPFC::remove()
S
54 6 20
WpFastestCacheAdmin::checkSuperCache()
S
56 6 18
WpFastestCacheCreateCache::set_current_page_content_type()
S
56 6 18
WpFastestCache::wpfc_remote_get()
S
55 6 18
WpFastestCacheCreateCache::fix_pre_tag()
S
56 6 17
WpFastestCache::register_my_custom_menu_page()
S
56 6 16
WpFastestCacheAdmin::insertLBCRule()
S
45 4 46
WpFastestCacheCreateCache::__construct()
S
58 6 15
CdnWPFC::cloudflare_delete_zone_id_value()
S
58 6 15
PreloadWPFC::extract_sitemap_index()
S
58 6 14
WpFastestCache::clear_cache_after_woocommerce_order_status_changed()
S
60 6 14
PreloadWPFC::prepare_sitemap()
S
50 5 28
CdnWPFC::cloudflare_get_zone_id_value()
S
60 6 13
JsUtilities::minify()
S
52 5 24
CssUtilities::woff_to_file()
S
52 5 24
WpFastestCacheCreateCache::set_cdn()
S
53 5 23
WpFastestCacheCreateCache::is_user_admin()
S
53 5 22
JsUtilities::mergeJs()
S
53 5 21
WpFastestCacheAdminToolbar::wpfc_tweaked_toolbar_on_admin_panel()
S
49 4 35
CssUtilities::fix_import_rules()
S
58 5 15
SinglePreloadWPFC::set_term_urls()
S
58 5 14
CdnWPFC::cloudflare_save_zone_id_value()
S
59 5 14
WpFastestCacheAdmin::insertRewriteRule()
S
60 5 13
WpFastestCacheAdmin::get_premium_version()
S
61 5 12
JsUtilities::setJsLinksExcept()
S
60 5 12
WpFastestCacheCreateCache::last_error()
S
63 5 11
WpFastestCache::deleteWidgetCache()
S
62 5 11
VarnishWPFC::save()
S
55 4 20
WpFastestCache::wpfc_cache_path_save_settings_callback()
S
55 4 19
WpFastestCacheAdmin::addJavaScript()
S
55 4 18
wpfastestcache_deactivate()
S
57 4 16
VarnishWPFC::start()
S
58 4 15
WpFastestCacheCreateCache::checkHtml()
S
65 5 9
SinglePreloadWPFC::create_cache_for_all_urls()
S
59 4 14
WpFastestCacheAdmin::my_plugin_locale_filter()
S
60 4 14
CssUtilities::to_inline()
S
61 4 13
CssUtilities::checkInternal()
S
61 4 12
WpFastestCache::wpfc_toolbar_get_settings_callback()
S
60 4 12
WpFastestCacheCreateCache::isPasswordProtected()
S
63 4 11
WpFastestCache::is_trailing_slash()
S
63 4 11
WpFastestCache::wpfc_db_statics_callback()
S
52 3 25
WpFastestCacheAdminToolbar::wpfc_tweaked_toolbar_on_frontpage()
S
50 2 33
WpFastestCache::excludeAdminCookie()
S
56 3 17
WpFastestCache::load_column()
S
67 4 7
WpFastestCache::enable_auto_cache_settings_panel()
S
65 4 8
VarnishWPFC::status()
S
63 4 10
CssUtilities::is_internal_css()
S
58 3 15
WpFastestCacheAdminToolbar::add()
S
59 3 15
SinglePreloadWPFC::init()
S
65 4 9
WpFastestCacheCreateCache::hasContactForm7WithCaptcha()
S
67 4 8
WpFastestCache::notify()
S
67 4 7
WpFastestCacheCreateCache::checkShortCode()
S
65 4 9
WpFastestCacheAdmin::checkShortCode()
S
63 4 10
CdnWPFC::cdn_options()
S
61 3 13
WpFastestCache::modify_htaccess_for_exclude()
S
61 3 12
WpFastestCache::modify_htaccess_for_new_user()
S
61 3 12
SinglePreloadWPFC::save_settings()
S
61 3 12
WpFastestCache::wpfc_db_fix_callback()
S
61 3 12
CssUtilities::create_content()
S
61 3 12
WpPollsForWpFc::wpfc_wppolls_ajax_request()
S
62 3 12
CssUtilities::tags_reorder()
S
62 3 12
WpFastestCache::wpfc_cache_statics_get_callback()
S
62 3 11
VarnishWPFC::pause()
S
62 3 11
WpPollsForWpFc::wpfc_wp_polls()
S
57 1 34
wpfc_clear_all_cache()
S
69 3 6
WpFastestCacheCreateCache::isCommenter()
S
74 3 4
WpFastestCacheAdmin::http_condition_rule()
S
63 3 10
WpFastestCacheCreateCache::create_name()
S
63 3 9
WpFastestCacheAdmin::addButtonOnQuicktagsEditor()
S
68 3 9
CdnWPFC::cloudflare_generate_header()
S
59 2 15
ClearingSpecificPagesWPFC::check_wild_card()
S
65 3 9
WpFastestCache::wpfc_purgecache_varnish_callback()
S
63 3 10
WpFastestCache::admin()
S
64 3 9
CssUtilities::fix_charset()
S
63 3 10
WpFastestCache::cache()
S
68 3 7
SinglePreloadWPFC::is_mobile_active()
S
68 3 7
ClearingSpecificPagesWPFC::get_list()
S
64 3 10
CdnWPFC::cloudflare_remove_webp()
S
64 3 10
PreloadWPFC::wpml_get_permalink()
S
65 3 8
WpFastestCache::isPluginActiveForNetwork()
S
67 3 8
wpfc_clear_all_site_cache()
S
69 3 6
WpFastestCache::tmp_saveOption()
S
65 3 9
SinglePreloadWPFC::set_urls()
S
65 3 9
WpFastestCacheCreateCache::cdn_rewrite()
S
61 2 12
WpFastestCache::get_mobile_browsers()
S
53 1 27
WpFastestCache::get_operating_systems()
S
58 1 19
wpfc_clear_post_cache_by_id()
S
74 2 5
WpFastestCacheCreateCache::set_exclude_rules()
S
73 2 5
WpFastestCache::isPluginActive()
S
77 2 3
WpFastestCacheCreateCache::minify()
S
70 2 5
WpFastestCacheAdmin::warningIncompatible()
S
67 2 7
WpFastestCacheCreateCache::is_xml()
S
79 2 3
WpFastestCache::wpfc_remove_cdn_integration_ajax_request_callback()
S
68 2 7
WpFastestCache::wpfc_preload_single_callback()
S
68 2 7
WpFastestCacheAdmin::setCronJobSettings()
S
70 2 6
WpFastestCache::detectNewComment()
S
74 2 5
WpFastestCacheCreateCache::is_html()
S
79 2 3
WpFastestCacheCreateCache::set_current_page_type()
S
74 2 4
WpFastestCache::unlink()
S
74 2 5
WpFastestCacheCreateCache::isWpLogin()
S
71 2 6
SinglePreloadWPFC::create_cache()
S
70 2 6
WpFastestCacheAdmin::ruleForWpContent()
S
64 2 9
SinglePreloadWPFC::set_id()
S
71 2 6
wpfc_create_post_cache_by_id()
S
75 2 5
WpFastestCache::is_subdirectory_install()
S
71 2 6
WpFastestCache::clear_cache_after_woocommerce_update_product()
S
73 2 5
VarnishWPFC::remove()
S
68 2 7
WpFastestCache::wpfc_preload_single_save_settings_callback()
S
68 2 7
WpFastestCache::wpfc_pause_cdn_integration_ajax_request_callback()
S
68 2 7
wpfastestcache_activate()
S
67 2 8
WpFastestCache::deleteCssAndJsCacheToolbar()
S
70 2 6
ClearingSpecificPagesWPFC::check_url()
S
66 2 8
WpFastestCache::wpfc_start_cdn_integration_ajax_request_callback()
S
68 2 7
WpFastestCacheCreateCache::is_json()
S
79 2 3
WpFastestCacheAdmin::myplugin_buttonhooks()
S
70 2 6
WpFastestCacheAdmin::to_move_gtranslate_rules()
S
66 2 8
WpFastestCache::deleteCacheToolbar()
S
70 2 6
WpFastestCache::wpfc_check_url_ajax_request_callback()
S
68 2 7
WpFastestCacheColumn::clear_cache_column()
S
65 2 8
WpFastestCache::wpfc_save_cdn_integration_ajax_request_callback()
S
68 2 7
WpFastestCache::delete_sitemap_cache()
S
69 2 6
SinglePreloadWPFC::set_urls_with_terms()
S
67 2 7
WpFastestCache::detectEditComment()
S
73 2 5
WpFastestCache::delete_author_page_cache()
S
63 2 10
wpfc_exclude_current_page()
S
82 1 3
WpFastestCache::get_excluded_useragent()
S
82 1 3
WpFastestCacheAdmin::myplugin_register_buttons()
S
76 1 4
WpFastestCache::clear_cache_after_switch_theme()
S
81 1 3
WpFastestCache::wpfc_load_plugin_textdomain()
S
77 1 3
WpFastestCacheCreateCache::get_header()
S
71 1 5
CssUtilities::_process()
S
66 1 8
CssUtilities::convert_path_to_link()
S
71 1 5
WpFastestCacheColumn::add()
S
69 1 6
WpFastestCache::add_meta_box()
S
77 1 4
WpFastestCache::setCustomInterval()
S
79 1 3
WpFastestCache::getOptions()
S
80 1 3
WpFastestCache::action_links()
S
73 1 4
WpFastestCacheCreateCache::wp_print_scripts_action()
S
82 1 3
WpFastestCache::create_post_cache_by_id()
S
71 1 6
WpFastestCacheAdminToolbar::load_toolbar_js()
S
78 1 3
WpFastestCache::wpfc_save_varnish_callback()
S
77 1 4
WpFastestCache::wpfc_get_list_csp_callback()
S
77 1 4
CssUtilities::__construct()
S
69 1 7
WpFastestCache::getSystemMessage()
S
82 1 3
WpFastestCache::wpfc_start_varnish_callback()
S
77 1 4
WpFastestCache::current_url()
S
73 1 5
WpFastestCache::set_preload()
S
77 1 4
WpFastestCacheAdmin::myplugin_register_tinymce_javascript()
S
74 1 4
WpFastestCache::wpfc_cdn_template_ajax_request_callback()
S
77 1 4
WpFastestCache::wpfc_remove_varnish_callback()
S
77 1 4
WpFastestCacheColumn::__construct()
S
98 1 1
WpFastestCache::clear_cache_on_kksr_rate()
S
80 1 3
WpPollsForWpFc::__construct()
S
91 1 2
WpFastestCache::slug()
S
82 1 3
WpFastestCache::wpfc_cdn_options_ajax_request_callback()
S
77 1 4
WpFastestCacheColumn::load_js()
S
78 1 3
WpFastestCache::commentHooks()
S
71 1 5
WpFastestCache::wpfc_pause_varnish_callback()
S
77 1 4
WpFastestCacheCreateCache::disable_emojis()
S
63 1 10
WpFastestCache::register_mysettings()
S
79 1 3
WpFastestCache::wpfc_save_csp_callback()
S
77 1 4
WpFastestCache::create_preload_cache()
S
73 1 5
WpFastestCache::clear_cache_after_deactivate_plugin()
S
81 1 3
WpFastestCacheAdminToolbar::load_toolbar_css()
S
78 1 3
WpFastestCache::wpfc_remove_csp_callback()
S
77 1 4
WpFastestCacheAdmin::addMenuPage()
S
79 1 3
CssUtilities::apply_filter()
S
78 1 3
WpFastestCacheCreateCache::creationTime()
S
79 1 3
SinglePreloadWPFC::add_meta_box()
S
65 1 10
WpFastestCacheAdmin::addButtonOnEditor()
S
75 1 4
wpfcCLI::wrong_usage()
S
70 1 7
WpFastestCache::single_preload_inline_js()
S
74 1 5
WpFastestCacheAdminToolbar::__construct()
S
81 1 3
JsUtilities::__construct()
S
69 1 7
WpFastestCache::getMobileUserAgents()
S
78 1 3
WpFastestCache::wpfc_status_varnish()
S
77 1 4
WpFastestCacheAdmin::__construct()
S
68 1 7
WpFastestCache::clear_cache_after_activate_plugin()
S
81 1 3
WpFastestCache::get_premium_path()
S
80 1 3
CssUtilities::fixPathsInCssContent()
S
66 1 8
WpPollsForWpFc::hook()
S
72 1 5
WpFastestCache::getABSPATH()
S
81 1 3
WpFastestCacheAdminToolbar::print_my_inline_script()
S
70 1 8
WpFastestCacheColumn::add_clear_cache_link()
S
73 1 4
JsUtilities::convert_path_to_link()
S
71 1 5