Code Analysis: LWS Optimize 1.8

Function Rating Maintainability Complexity Lines of code
lws_op_print_scripts()
D
0
169 373
lws_op_page()
D
22
21 248
lws_option_media_checkbox()
C
38 25 71
FLHM_HTML_Compression::flhm_minifyHTML()
B
43 17 44
WP_Object_Cache::__construct()
A
43 12 46
lws_op_update_posts_webp()
A
38 8 86
WP_Object_Cache::get()
A
47 11 35
lws_op_force_audio_video_lazy_loading()
A
45 9 53
lws_op_convert_all_to_webp()
A
39 8 65
lws_op_delete_webp_files()
A
40 8 64
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
lws_op_other_cache_plugin()
A
48 7 45
WP_Object_Cache::stats()
A
50 8 26
WP_Object_Cache::get_multi()
A
48 7 33
lws_op_check_compatibility()
S
61 8 11
WP_Object_Cache::add()
S
53 7 21
lws_op_disable_audio_video_lazy_loading()
S
48 5 41
WP_Object_Cache::set()
S
56 6 17
lws_op_generate_webp_file_sized()
S
51 5 27
lws_op_generate_webp_file()
S
53 5 25
lws_op_compress_to_jpeg()
S
54 5 22
lws_op_uncompress_all_to_jpeg()
S
53 5 21
lws_op_webp_upload()
S
47 4 35
lws_op_scripts()
S
60 5 12
lws_op_compress_all_to_jpeg()
S
53 4 21
lws_op_compress_to_jpeg_upload()
S
56 4 17
WP_Object_Cache::flush()
S
63 5 10
WP_Object_Cache::replace()
S
60 4 13
dir_is_empty()
S
63 4 11
lwsop_review_ad_plugin()
S
49 1 47
JsCombiner::combine()
S
58 3 16
CssCombiner::combine()
S
59 3 15
WP_Object_Cache::delete()
S
58 3 15
lws_op_on_delete()
S
50 2 29
lws_op_fb_tpl_redirect()
S
59 3 13
WP_Object_Cache::key()
S
62 3 11
lws_op_minimize_html()
S
63 3 11
lws_optimize_manage_state()
S
63 3 11
JsCombiner::fileValidator()
S
63 3 10
CssCombiner::fileValidator()
S
63 3 10
lws_op_disable_image_lazy_loading()
S
69 3 7
lws_op_disable_iframe_lazy_loading()
S
69 3 7
lws_op_add_option()
S
64 3 10
lws_optimize_fb_cache()
S
64 3 9
lws_op_preload_css()
S
67 2 7
lws_optimize_clear_cache()
S
73 2 4
lws_op_remove_scripts_static()
S
71 2 6
FLHM_HTML_Compression::flhm_parseHTML()
S
70 2 6
WP_Object_Cache::add_non_persistent_groups()
S
69 2 7
lws_no_optimize_fb_cache()
S
70 2 6
lws_optimize_stop_memcached()
S
68 2 7
FLHM_HTML_Compression::flhm_removeWhiteSpace()
S
64 2 10
lws_optimize_start_memcached()
S
67 2 7
lws_op_disable_emojis_tinymce()
S
70 2 7
lws_op_defer_filter()
S
71 2 6
lws_op_on_activation()
S
69 2 6
lws_op_do_not_ask()
S
70 2 6
WP_Object_Cache::get_mc()
S
71 2 6
FLHM_HTML_Compression::__construct()
S
74 2 5
wp_cache_set()
S
66 2 8
lws_op_remind_me_later()
S
70 2 6
WP_Object_Cache::add_global_groups()
S
69 2 7
lws_op_delete_option()
S
69 2 7
lws_op_fb_tpl_redirect_end()
S
68 2 7
WP_Object_Cache::colorize_debug_line()
S
61 1 11
CssCombiner::setHeaders()
S
81 1 3
lws_op_image_size_threshold()
S
77 1 4
wp_cache_set_multi()
S
74 1 4
JsCombiner::setHeaders()
S
81 1 3
lws_op_cron_schedule()
S
74 1 4
WP_Object_Cache::close()
S
91 1 2
wp_cache_flush()
S
77 1 4
wp_cache_replace()
S
75 1 4
JsCombiner::__construct()
S
82 1 3
wp_cache_get()
S
75 1 4
wp_cache_add()
S
75 1 4
wp_cache_delete()
S
76 1 4
wp_cache_decr()
S
75 1 4
wp_cache_add_global_groups()
S
77 1 4
wp_cache_close()
S
77 1 4
wp_cache_add_non_persistent_groups()
S
77 1 4
CssCombiner::__construct()
S
82 1 3
wp_cache_init()
S
77 1 4
lws_op_disable_emojis()
S
64 1 10
FLHM_HTML_Compression::flhm_bottomComment()
S
67 1 7
wp_cache_get_multi()
S
76 1 4
flhm_wp_html_compression_finish()
S
81 1 3
lws_op_loading()
S
67 1 8
wp_cache_incr()
S
75 1 4
lws_op_menu_admin()
S
74 1 4
FLHM_HTML_Compression::__toString()
S
82 1 3
WP_Object_Cache::incr()
S
69 1 6
lws_optimize_clear_memcached()
S
70 1 6
lws_op_on_deactivate()
S
79 1 3
lws_op_restore_file_to_default_before_delete()
S
100 1 2
WP_Object_Cache::decr()
S
69 1 6