Code Analysis: WP Fastest Cache 0.9.3

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