Code Analysis: Lazy Load for Videos 2.18.3

Function Rating Maintainability Complexity Lines of code
KW_LLV_Admin::lazyload_settings_page()
D
21
22 287
KW_LLV_Youtube::thumbnailquality()
A
50 16 27
KW_LLV_Admin::lazyload_replace_video()
A
42 14 48
KW_LLV_Frontend::__construct()
A
50 12 27
KW_LLV_Frontend::have_posts_video_embeds()
A
55 9 20
KW_LLV_Styles::load_lazyload_css_thumbnail_size()
S
49 6 42
KW_LLV_Editor::init()
S
52 7 25
KW_LLV_Meta::save()
S
57 7 16
KW_LLV_Styles::load_lazyload_css_button_style()
S
57 6 17
KW_LLV_Register::check_for_plugin_version()
S
65 5 9
KW_LLV_Meta::meta_box()
S
51 2 31
KW_LLV_Admin::register_lazyload_settings()
S
51 2 30
KW_LLV_Vimeo::thumbnailquality()
S
62 3 11
KW_LLV_Admin::admin_enqueue_scripts()
S
70 3 6
KW_LLV_Youtube::should_load_thumbnail()
S
74 3 4
KW_LLV_Register::plugin_notice_activation()
S
67 3 8
KW_LLV_Admin::isset_update_posts()
S
72 3 5
KW_LLV_Frontend::should_only_load_scripts_if_needed()
S
66 3 9
lazyload_videos_frontend_init()
S
67 3 8
KW_LLV_Vimeo::should_load_thumbnail()
S
74 3 4
KW_LLV_Meta::add_meta_box()
S
62 2 13
KW_LLV_Update_Posts::delete_oembed_caches()
S
54 1 25
lazyloadvideos_plugin_activation()
S
54 1 24
KW_LLV_Update_Posts::delete_oembed_cache()
S
59 1 18
KW_LLV_Frontend::has_post_embed_with_value()
S
59 1 18
KW_LLV_Youtube::get_config()
S
57 1 15
lazyload_videos_woocommerce_product_export_skip_meta_keys()
S
64 2 9
KW_LLV_Editor::__construct()
S
71 2 6
KW_LLV_Youtube::enqueue()
S
66 2 8
KW_LLV_Styles::enqueue()
S
65 2 9
KW_LLV_Admin::lazyloadvideos_update_posts_with_embed()
S
76 2 5
KW_LLV_Styles::load_lazyload_css_custom()
S
73 2 5
KW_LLV_Styles::load_lazyload_css_video_titles()
S
73 2 5
KW_LLV_Vimeo::enqueue()
S
66 2 8
KW_LLV_Vimeo::get_config()
S
58 1 14
KW_LLV_Update_Posts::delete_postmeta()
S
64 1 11
lazyloadvideos_plugin_uninstall()
S
79 1 4
KW_LLV_Youtube::callback()
S
75 1 4
lazyload_videos_admin_init()
S
76 1 4
KW_LLV_Admin::__construct()
S
68 1 7
lazyload_load_textdomain()
S
78 1 3
lazyload_videos_init_plugins_loaded()
S
74 1 5
KW_LLV_Admin::admin_init()
S
72 1 5
KW_LLV_Meta::get_post_types()
S
80 1 3
KW_LLV_Editor::initScriptYoutube()
S
68 1 8
KW_LLV_Vimeo::get_inline_script()
S
79 1 3
KW_LLV_Admin::lazyload_settings_link()
S
71 1 5
KW_LLV_Youtube::get_inline_script()
S
79 1 3
KW_LLV_Editor::initScriptVimeo()
S
68 1 8
KW_LLV_Register::update_plugin_version()
S
76 1 4
lazyloadvideos_plugin_deactivation()
S
78 1 4
KW_LLV_Admin::lazyload_create_menu()
S
77 1 3
KW_LLV_Register::__construct()
S
76 1 4
KW_LLV_Meta::__construct()
S
75 1 4
KW_LLV_Admin::lazyload_admin_js()
S
77 1 3
KW_LLV_Admin::text__no_script_fallback()
S
73 1 4
KW_LLV_Vimeo::callback()
S
75 1 4
KW_LLV_Admin::lazyload_admin_css()
S
76 1 4