Code Analysis: LWS Optimize 3.2.0.3

Function Rating Maintainability Complexity Lines of code
LwsOptimize::__construct()
D
13
39 412
FileCache::callback()
D
25
47 144
FileCache::lwsop_check_need_cache()
D
35 41 72
LwsOptimize::lws_optimize_manage_config()
D
27
36 130
JSManager::check_for_exclusion()
C
37 27 71
CSSManager::check_for_exclusion()
C
40 27 57
Lws_Optimize_ImageOptimization::convert_all_medias()
B
32 21 97
FileCache::lwsop_set_cachedir()
B
43 24 39
LwsOptimize::lwsop_update_current_media_convertion_database()
B
32 19 112
lws_optimize_manage_media_iframe_video_lazyload_content()
B
38 21 68
FileCache::lwsop_page_has_been_excluded()
B
42 22 48
LwsOptimize::lws_optimize_manage_exclusions_media()
B
37 20 71
CSSManager::combine_css_update()
B
38 19 70
Lws_Optimize_ImageOptimization::lws_optimize_convert_image()
B
39 18 56
Lws_Optimize_ImageOptimization::lws_optimize_custom_upload_filter()
B
38 17 62
WpFastestCacheLazyLoad::images_to_lazyload()
B
40 17 60
Lws_Optimize_ImageOptimization::revertOptimization()
A
37 14 72
lwsop_clear_cache_cloudflare()
A
37 13 72
LwsOptimize::lws_optimize_start_filebased_preload()
A
41 14 52
LwsOptimize::lwsop_get_content_directory()
A
45 15 37
LwsOptimize::lwsop_convert_all_media()
A
42 14 44
lws_optimize_add_lazy_loading_attributes_to_iframe_videos()
A
39 12 73
lwsop_dump_dynamic_cache()
A
45 14 39
JSManager::combine_js_update()
A
44 13 42
FileCache::lwsop_launch_cache()
A
44 13 41
WP_Object_Cache::__construct()
A
43 12 46
FileCache::lwsop_detect_page_type()
A
50 13 26
LwsOptimize::lws_optimize_manage_exclusions()
A
45 12 40
WpFastestCacheLazyLoad::video_to_lazyload()
A
46 12 36
lws_optimize_delete_directory()
A
47 12 35
WpFastestCacheLazyLoad::is_exclude()
A
49 12 32
LwsOptimize::lws_optimize_create_maintenance_db_options()
A
45 11 39
WP_Object_Cache::get()
A
47 11 35
LwsOptimize::lws_optimize_set_fb_timer()
A
47 11 34
CSSManager::minify_css()
A
42 10 47
LwsOptimize::lwsop_recalculate_stats()
A
43 9 58
FileCache::lwsop_page_to_ignore()
A
46 10 37
CSSManager::combine_current_css()
A
46 10 37
LwsOptimize::lwsop_get_setup_optimize()
A
48 10 33
JSManager::minify_js()
A
46 9 36
LwsOptimize::lws_optimize_clean_filebased_cache()
A
42 8 50
FileCache::_lwsop_is_mobile()
A
55 10 19
lws_op_activate_plugin()
A
51 9 29
lws_optimize_remove_other_cache()
A
52 9 27
WP_Object_Cache::set_multi()
A
51 9 26
WpFastestCacheLazyLoad::set_placeholder()
A
52 9 25
WpFastestCacheLazyLoad::iframe_to_lazyload()
A
51 9 24
lws_op_other_cache_plugin()
A
47 7 47
FileCache::lws_optimize_manage_frontend_preload_js()
A
56 9 17
LwsOptimize::lws_optimize_set_maintenance_db_options()
A
50 8 28
WP_Object_Cache::stats()
A
50 8 27
LwsOptimize::lws_optimize_clear_currentcache()
A
49 8 27
LwsOptimize::lwsop_preload_fb()
A
50 8 26
LwsOptimize::lwsop_auto_setup_optimize()
A
38 4 86
LwsOptimize::lwsop_do_pagespeed_test()
A
44 7 40
JSManager::_set_excluded()
A
53 8 20
lws_optimize_add_lazy_loading_attributes_to_images()
A
48 7 33
FileCache::lwsop_add_to_cache()
A
55 8 18
WP_Object_Cache::get_multi()
A
48 7 33
JSManager::combine_current_js()
S
49 7 30
LwsOptimize::lws_optimize_init()
S
58 8 13
LwsOptimize::lws_optimize_wp_footer_scripts()
S
40 1 118
lws_optimize_on_upgrade_cleanup()
S
51 7 26
LwsOptimize::lwsop_set_url_preload()
S
51 7 25
LwsOptimize::lwsop_set_url_preload_font()
S
51 7 25
LwsOptimize::lwsop_save_urls_fb()
S
51 7 25
LwsOptimize::lws_optimize_set_fb_status()
S
51 7 24
LwsOptimize::lwsop_save_specified_urls_fb()
S
51 7 24
WpFastestCacheLazyLoad::mark_content_images()
S
54 7 22
WpFastestCacheLazyLoad::mark_attachment_page_images()
S
55 7 21
WP_Object_Cache::add()
S
53 7 21
WpFastestCacheLazyLoad::is_full()
S
59 7 14
JSManager::checkInternal()
S
60 7 11
CSSManager::preload_fonts()
S
52 6 23
LwsOptimize::lwsop_start_autoconvert_media()
S
52 6 23
WpFastestCacheLazyLoad::background_to_lazyload()
S
53 6 22
JSManager::lwsop_check_option()
S
54 6 20
CSSManager::lwsop_check_option()
S
55 6 19
LwsOptimize::lwsop_check_option()
S
55 6 18
LwsOptimize::fetch_url_sitemap()
S
56 6 18
FileCache::lwsop_detect_page_content_type()
S
56 6 18
LwsOptimize::lwsop_check_preload_update()
S
55 6 17
WP_Object_Cache::set()
S
56 6 17
lws_op_check_compatibility()
S
64 7 9
JSManager::merge_js()
S
49 5 29
LwsOptimize::lws_optimize_admin_footer_scripts()
S
44 1 89
LwsOptimize::lws_optimize_revert_convertion()
S
49 5 28
LwsOptimize::lwsop_check_convert_images_update()
S
50 5 25
CSSManager::preload_css()
S
52 5 23
lws_optimize_delete_directory()
S
54 5 21
Lws_Optimize_ImageOptimization::__construct()
S
56 5 18
LwsOptimize::lwsop_change_preload_amount()
S
55 5 18
WpFastestCacheLazyLoad::is_thumbnail()
S
60 5 15
LwsOptimize::lws_optimize_convert_media_cron()
S
49 4 30
Lws_Optimize_ImageOptimization::regenerate_thumbnails_for_all_images()
S
58 5 14
WpFastestCacheLazyLoad::is_mobile()
S
59 5 14
LwsOptimize::lws_optimize_fetch_exclusions()
S
58 5 13
FileCache::lwsop_clear_current_page_cache()
S
44 2 48
WP_Object_Cache::flush()
S
63 5 10
WP_Object_Cache::replace()
S
60 4 13
lws_optimize_add_native_lazy_loading_to_iframe_video()
S
52 3 28
lws_optimize_manage_state()
S
59 4 13
FileCache::lws_optimize_manage_frontend_eliminate_requests()
S
62 4 12
run_lws_cache()
S
62 4 11
LwsOptimize::lws_optimize_admin_bar()
S
49 2 40
LwsOptimize::lwsop_remove_cache_post_change_specific()
S
55 3 18
FileCache::lws_optimize_manage_frontend_deactivate_emoji()
S
55 3 18
lwsop_review_ad_plugin()
S
49 1 47
LwsOptimize::lwsop_remove_cache_post_change()
S
56 3 17
LwsOptimize::lws_optimize_manage_maintenance_get()
S
57 3 16
FileCache::lws_optimize_manage_frontend_webfont_optimize()
S
65 4 9
WP_Object_Cache::delete()
S
58 3 15
removeDir()
S
59 3 15
lws_optimize_activate_cleaner()
S
59 3 14
LwsOptimize::purge_specified_url()
S
60 3 13
WP_Object_Cache::key()
S
62 3 11
lws_op_scripts()
S
61 3 11
LwsOptimize::lwsop_remove_fb_cache_on_cart_update()
S
56 2 18
lws_optimize_start_output_buffer_for_native_ll_iframe_video()
S
74 3 5
LwsOptimize::lwsop_get_url_preload_font()
S
64 3 8
lws_optimize_start_output_buffer_for_native_ll()
S
74 3 5
LwsOptimize::lwsop_plugin_active_for_network()
S
64 3 10
LwsOptimize::lwsop_get_url_preload()
S
64 3 8
lws_op_scripts_out()
S
72 3 5
LwsOptimize::lwsop_exclude_urls_fb()
S
65 3 8
LwsOptimize::lwsop_revertOptimization()
S
63 3 10
LwsOptimize::lwsop_specified_urls_fb()
S
65 3 8
lws_optimize_start_output_buffer_for_ll()
S
74 3 5
WpFastestCacheLazyLoad::__construct()
S
66 3 8
lws_optimize_start_output_buffer_for_ll_iframe_video()
S
74 3 5
LwsOptimize::lws_optimize_clear_cache_on_comment()
S
59 2 14
Lws_Optimize_ImageOptimization::lws_optimize_refresh_attachments()
S
59 2 14
LwsOptimize::lwsop_stop_autoconvertion()
S
60 2 12
WpFastestCacheLazyLoad::get_js_source_new()
S
52 1 22
WP_Object_Cache::add_global_groups()
S
69 2 7
LwsOptimize::lws_optimize_get_database_cleaning_time()
S
62 2 10
LwsOptimize::lwsop_plugin_active()
S
77 2 3
JSManager::__construct()
S
66 2 8
LwsOptimize::lwsOpSizeConvert()
S
65 2 7
WpFastestCacheLazyLoad::is_third_party()
S
70 2 6
wp_cache_set()
S
66 2 8
str_ends_with()
S
77 2 3
WP_Object_Cache::add_non_persistent_groups()
S
69 2 7
lws_op_on_delete()
S
68 2 7
lws_optimize_manage_media_image_lazyload()
S
69 2 7
FileCache::lws_optimize_manage_frontend_preload_css()
S
69 2 7
str_starts_with()
S
78 2 3
WP_Object_Cache::get_mc()
S
71 2 6
CSSManager::__construct()
S
63 2 10
str_contains()
S
77 2 3
LwsOptimize::lwsop_admin_bar_change_css()
S
69 2 10
lwsOpSizeConvert()
S
65 2 7
lws_op_page()
S
60 1 13
WpFastestCacheLazyLoad::get_js_source()
S
60 1 12
WP_Object_Cache::colorize_debug_line()
S
61 1 11
wp_cache_flush()
S
77 1 4
LwsOptimize::lws_optimize_stop_deconvertion()
S
70 1 5
wp_cache_close()
S
77 1 4
wp_cache_decr()
S
75 1 4
wp_cache_incr()
S
75 1 4
wp_cache_replace()
S
75 1 4
lws_op_on_activation()
S
80 1 3
lws_optimize_timestamp_crons()
S
69 1 7
lws_optimize_add_native_lazy_loading_to_images()
S
65 1 10
lws_optimize_manage_media_iframe_video_lazyload_js()
S
78 1 3
wp_cache_add_global_groups()
S
77 1 4
lws_optimize_manage_media_image_lazyload_js()
S
78 1 3
WP_Object_Cache::close()
S
91 1 2
LwsOptimize::lws_optimize_clear_cache()
S
69 1 6
LwsOptimize::lwsop_reload_stats()
S
65 1 8
lws_op_menu_admin()
S
77 1 3
wp_cache_get_multi()
S
76 1 4
wp_cache_set_multi()
S
74 1 4
JSManager::endify_scripts()
S
67 1 7
wp_cache_add_non_persistent_groups()
S
77 1 4
LwsOptimize::lws_optimize_stop_convertion()
S
70 1 5
WP_Object_Cache::decr()
S
69 1 6
lws_op_image_opti_page()
S
81 1 3
LwsOptimize::lws_optimize_clear_stylecache()
S
67 1 7
lws_optimize_manage_media_image_lazyload_js()
S
78 1 3
wp_cache_delete()
S
76 1 4
wp_cache_init()
S
77 1 4
LwsOptimize::lws_optimize_clear_htmlcache()
S
67 1 7
lws_op_add_settings_link()
S
68 1 7
FileCache::__construct()
S
70 1 6
wp_cache_add()
S
75 1 4
wp_cache_get()
S
75 1 4
WP_Object_Cache::incr()
S
69 1 6