Code Analysis: Simple Lazy Load Videos 1.7.1

Function Rating Maintainability Complexity Lines of code
SLLV\Template::get_html_from_url()
A
44 12 46
SLLV\Functions::check_thumbnail_exists()
S
51 6 29
SLLV\Functions::remote_api_get()
S
57 4 17
SLLV\Plugin::check_version()
S
64 5 9
SLLV\Functions::determine_video_url()
S
56 3 19
SLLV\Options::sanitize_callback()
S
64 4 10
SLLV\Plugin::change_oembed_html()
S
61 3 13
SLLV\Plugin::shortcode()
S
55 2 24
SLLV\Options::youtube_thumbnail_size()
S
56 2 19
SLLV\Options::vimeo_thumbnail_size()
S
57 2 18
SLLV\Plugin::check_options()
S
67 3 8
SLLV\Resources::enqueue_scripts()
S
62 2 13
SLLV\Plugin::bp_change_oembed_html()
S
64 2 11
SLLV\Template::video()
S
53 1 25
SLLV\Oembed_Cache::flush_old_cache()
S
56 1 22
SLLV\Options::plugin_settings()
S
58 1 18
SLLV\Options::options_page_output()
S
62 1 16
SLLV\Resources::enqueue_styles()
S
65 2 10
SLLV\Plugin::add_plugin_row_meta()
S
65 2 9
SLLV\Plugin::get_settings()
S
69 2 7
SLLV\Options::plugin_action_links()
S
65 2 8
SLLV\Functions::get_svg()
S
65 2 9
SLLV\Functions::get_youtube_thumb()
S
63 2 10
SLLV\Options::__construct()
S
71 1 5
SLLV\Actions::activate()
S
89 1 2
SLLV\Options::add_plugin_page()
S
67 1 9
SLLV\Plugin::get_settings_name()
S
80 1 3
SLLV\Actions::deactivate()
S
89 1 2
SLLV\Plugin::__construct()
S
63 1 10
SLLV\Template::get_vimeo_button()
S
75 1 4
SLLV\Functions::get_vimeo_thumb()
S
70 1 5
SLLV\Resources::load_textdomain()
S
70 1 7
SLLV\Resources::__construct()
S
72 1 5
SLLV\Actions::uninstall()
S
77 1 4
SLLV\Template::get_youtube_button()
S
75 1 4