Code Analysis: ARVE Advanced Responsive Video Embedder 9.10.17

Function Rating Maintainability Complexity Lines of code
all_settings()
D
15
7 547
iframe_src_autoplay_args()
C
38 29 66
build_iframe_src()
B
40 19 56
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::show_update_notification()
B
36 15 85
detect_provider_and_id_from_url()
B
44 17 41
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::get_version_from_remote()
A
43 15 46
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::plugins_api_filter()
A
45 15 43
_asset()
A
39 12 70
list_hooks()
A
42 12 51
validate_bool()
A
48 13 34
upgrade_options()
A
43 12 49
args_validate()
A
47 13 33
special_iframe_src_mods()
A
46 12 36
args_detect_html5()
A
48 12 34
query_args()
A
29 1 179
wp_video_shortcode_override()
A
53 11 23
compare_oembed_src_with_generated_src()
A
47 10 36
remove_url_query()
A
56 11 15
missing_settings_defaults()
A
50 10 30
register_shortcode_ui()
A
43 8 54
build_tag()
A
48 9 33
get_api_error_message()
A
49 9 32
build_video_tag()
A
49 9 29
oembed_html2src()
A
50 9 28
Nextgenthemes\ARVE\Common\Admin\EDD\ThemeUpdater::check_for_update()
A
45 8 41
action_admin_init_setup_messages()
A
43 7 53
validate_align()
A
54 9 23
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::show_changelog()
A
52 9 22
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::check_update()
A
54 9 20
attr()
A
55 9 17
get_products()
A
41 6 61
get_debug_info()
A
45 7 43
print_settings_blocks()
A
45 7 42
missing_attribute_check()
A
52 8 24
arg_aspect_ratio()
A
54 8 23
gutenberg_block()
A
50 7 35
arg_maxwidth()
A
55 8 18
filter_oembed_dataparse()
A
55 8 17
register_assets()
S
41 5 60
shortcode_pairs()
S
45 6 42
build_iframe_tag()
S
46 6 42
Nextgenthemes\ARVE\Common\Admin\Notices::display()
S
51 7 26
yt_srcset()
S
52 7 23
build_seo_data()
S
49 6 30
shortcode()
S
51 6 26
get_language_name_from_code()
S
32 1 100
settings_sidebar()
S
56 6 20
api_action()
S
48 5 34
is_gutenberg()
S
56 6 18
validate_aspect_ratio()
S
57 6 16
remote_get_json_cached()
S
51 5 31
get_video_type()
S
60 6 15
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::get_tested_version()
S
58 6 15
bool_shortcode_args()
S
59 6 14
detect_tracks()
S
52 5 25
seconds_to_iso8601_duration()
S
52 5 24
create_shortcodes()
S
52 5 23
migrate_old_licenses()
S
53 5 23
arg_iframe_src()
S
54 5 21
deps_and_ver()
S
55 5 20
arg_mode()
S
56 5 18
iframe_src_args()
S
55 5 18
arg_img_src()
S
57 5 16
build_html()
S
50 4 30
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::get_cached_version_info()
S
59 5 14
settings()
S
60 5 13
liveleak_id_fix()
S
60 5 13
remote_get_body()
S
52 4 28
arg_autoplay()
S
61 5 12
create_shortcode_dialog()
S
49 3 42
Nextgenthemes\ARVE\Common\Admin\Notices::register_notice()
S
51 4 26
ver()
S
63 5 11
ngt_get_block_wrapper_attributes()
S
61 5 11
nextgenthemes_settings()
S
47 3 39
Nextgenthemes\ARVE\Common\Settings::print_outdated_php_msg()
S
49 3 39
label_text()
S
56 4 22
activation_notices()
S
54 4 20
init_public()
S
47 3 33
arve_embed_inner_html()
S
56 4 18
youtube_time_to_seconds()
S
56 4 18
admin_enqueue_scripts()
S
49 3 32
print_network_active_plugins()
S
57 4 16
init_edd_updaters()
S
63 5 10
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::convert_object_to_array()
S
63 5 10
check_product_keys()
S
59 4 14
activate_defined_key()
S
60 4 13
array_insert_before()
S
61 4 13
array_insert_after()
S
61 4 13
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::api_request()
S
61 4 13
Nextgenthemes\ARVE\Common\Admin\Notices::dismiss_notice_ajax()
S
60 4 13
valid_url()
S
62 4 12
nextgenthemes_maybe_add_async_or_defer()
S
61 4 12
create_url_handlers()
S
61 4 11
Nextgenthemes\ARVE\Common\Admin\EDD\ThemeUpdater::update_nag()
S
51 3 26
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::request_recently_failed()
S
63 4 11
Nextgenthemes\ARVE\Common\Settings::print_reset_bottons()
S
54 3 26
build_video()
S
52 3 25
arve_embed()
S
52 3 25
Nextgenthemes\ARVE\Common\Admin\Notices::init()
S
56 3 22
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::get_repo_api_data()
S
56 3 20
print_licensekey_field()
S
57 3 18
Nextgenthemes\ARVE\Common\Settings::print_settings_tabs()
S
58 3 18
add_dashboard_widget()
S
57 3 17
url_handler()
S
57 3 17
extract_oembed_json()
S
57 3 16
Nextgenthemes\ARVE\Common\Admin\Notices::dismiss_notice()
S
64 4 10
Nextgenthemes\ARVE\Common\Settings::print_paid_section_message()
S
59 3 15
args_video()
S
66 4 8
display_pro_ad()
S
63 4 10
Nextgenthemes\ARVE\Common\Admin\Notices::restore_user()
S
58 3 15
Nextgenthemes\ARVE\Common\Admin\Notices::restore_global()
S
58 3 15
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::__construct()
S
57 3 15
Nextgenthemes\ARVE\Common\Settings::save_options()
S
59 3 14
Nextgenthemes\ARVE\Common\Settings::assets()
S
50 2 29
plugin_ver_status()
S
62 3 12
build_rating_meta()
S
61 3 12
action_admin_bar_menu()
S
61 3 12
Nextgenthemes\ARVE\Common\Settings::__construct()
S
50 2 27
validate_url()
S
62 3 11
print_shortcode_template()
S
62 3 11
print_active_plugins()
S
61 3 11
process_shortcode_args()
S
52 2 23
init_theme_updater()
S
47 1 37
nextgenthemes_settings_instance()
S
56 2 19
add_action_links()
S
56 2 19
ad_html()
S
57 2 18
settings_instance()
S
56 2 18
Nextgenthemes\ARVE\Common\Settings::set_defined_product_keys()
S
65 3 9
str_ends_with()
S
67 3 7
get_defined_key()
S
66 3 8
get_array_key_by_value()
S
67 3 8
get_error_html()
S
65 3 9
shortcode_settings()
S
65 3 9
get_url_arg()
S
64 3 10
shortcode_option_defaults()
S
64 3 10
print_select_field()
S
60 2 15
Nextgenthemes\ARVE\Common\Admin\Notices::instance()
S
68 3 7
disabled_on_feeds()
S
77 3 3
add_dep_to_asset()
S
66 3 9
Nextgenthemes\ARVE\Common\Admin\Notices::get_notice()
S
68 3 7
Nextgenthemes\ARVE\Common\Admin\Notices::restore_notice()
S
66 3 8
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::http_request_args()
S
69 3 6
iframe_src_jsapi_arg()
S
69 3 6
str_contains_any()
S
67 3 8
settings_content()
S
54 1 29
filter_embed_oembed_html()
S
60 2 14
Nextgenthemes\ARVE\Common\Admin\EDD\ThemeUpdater::__construct()
S
51 1 28
Nextgenthemes\ARVE\Common\Settings::print_admin_page()
S
53 1 28
print_boolean_radio_field()
S
57 1 26
block_attr()
S
62 2 11
promote_link()
S
63 2 11
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::set_version_info_cache()
S
61 2 11
Nextgenthemes\ARVE\Common\Settings::register_rest_route()
S
59 1 17
init_admin()
S
56 1 17
Nextgenthemes\ARVE\Common\Settings::print_save_section()
S
63 1 16
str_starts_with()
S
77 2 3
theme_version()
S
75 2 4
get_image_size()
S
68 2 7
plugin_or_theme_ver()
S
67 2 8
vimeo_referer()
S
70 2 6
replace_extension()
S
71 2 5
uninstall()
S
63 2 10
Nextgenthemes\ARVE\Common\Admin\Notices::dismiss_user()
S
66 2 8
action_wp_enqueue_scripts()
S
68 2 8
Nextgenthemes\ARVE\Common\Admin\Notices::is_php_compatible()
S
71 2 6
Nextgenthemes\ARVE\Common\Admin\EDD\ThemeUpdater::theme_update_transient()
S
69 2 7
check_filetype()
S
66 2 8
remote_get_body_cached()
S
65 2 9
is_script()
S
73 2 4
html_id()
S
71 2 6
bool_to_shortcode_string()
S
72 2 6
Nextgenthemes\ARVE\Common\Admin\Notices::is_wp_compatible()
S
70 2 6
Nextgenthemes\ARVE\Common\Admin\Notices::dismiss_global()
S
66 2 8
Nextgenthemes\ARVE\Common\Admin\Notices::is_dismissed()
S
68 2 7
error()
S
66 2 8
dashes_to_camel_case()
S
68 2 7
get_constant()
S
79 2 3
gcd()
S
78 2 3
tracks_html()
S
68 2 7
url_query_array()
S
67 2 8
print_image_upload_field()
S
60 1 15
inline_script()
S
66 2 7
print_string_field()
S
62 1 15
has_valid_key()
S
73 2 4
plugin_or_theme_src()
S
68 2 8
Nextgenthemes\ARVE\Common\Admin\Notices::dismissed_user()
S
68 2 7
height_from_width_and_ratio()
S
68 2 7
prefix_array_keys()
S
68 2 7
filter_save_options()
S
63 2 10
print_boolean_field()
S
63 1 14
widget_text()
S
61 1 13
init_plugin_updater()
S
61 1 13
settings_sections()
S
62 1 11
Nextgenthemes\ARVE\Common\Admin\Notices::get_types()
S
64 1 11
Nextgenthemes\ARVE\Common\Settings::print_errors()
S
75 1 11
Nextgenthemes\ARVE\Common\Admin\EDD\ThemeUpdater::delete_theme_update_transient()
S
82 1 3
add_oembed_providers()
S
69 1 7
admin_enqueue_styles()
S
64 1 10
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::get_cache_key()
S
74 1 4
print_settings_box_html()
S
74 1 5
get_var_dump()
S
74 1 5
init_920()
S
79 1 4
sane_provider_name()
S
69 1 6
first_array_value()
S
73 1 5
delete_oembed_caches()
S
65 1 10
get_host_properties()
S
80 1 3
gutenberg_ui_settings()
S
73 1 5
print_old_hidden_field()
S
75 1 5
plugin_file()
S
81 1 3
add_dep_to_script()
S
74 1 4
print_hidden_field()
S
100 1 1
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::init()
S
69 1 6
enqueue_asset()
S
76 1 4
Nextgenthemes\ARVE\Common\Settings::get_options()
S
72 1 5
register_asset()
S
76 1 4
asset()
S
82 1 3
Nextgenthemes\ARVE\Common\Admin\EDD\ThemeUpdater::load_themes_screen()
S
76 1 4
new_height()
S
73 1 5
starts_with()
S
80 1 3
aspect_ratio_gcd()
S
69 1 6
aspect_ratio_to_percentage()
S
72 1 5
Nextgenthemes\ARVE\Common\Admin\Notices::get_notices()
S
81 1 3
Nextgenthemes\ARVE\Common\Settings::get_options_defaults()
S
82 1 3
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::log_failed_request()
S
79 1 3
remote_get_json()
S
79 1 3
activate_product_key()
S
69 1 6
Nextgenthemes\ARVE\Common\Admin\Notices::get_id()
S
80 1 3
is_wp_debug()
S
81 1 3
default_options()
S
77 1 4
Nextgenthemes\ARVE\Common\Settings::register_setting_page()
S
65 1 9
contains()
S
80 1 3
array_whitelist_keys()
S
73 1 6
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::get_active_plugins()
S
72 1 5
textarea_dump()
S
79 1 3
ver_from_asset()
S
80 1 3
load_textdomain()
S
69 1 7
Nextgenthemes\ARVE\Common\Admin\Notices::dismissed_global()
S
80 1 3
Nextgenthemes\ARVE\Common\Admin\Notices::default_args()
S
66 1 9
Nextgenthemes\ARVE\Common\Admin\Notices::spit_error()
S
70 1 7
Nextgenthemes\ARVE\Common\Settings::print_debug_info_block()
S
71 1 8
ends_with()
S
80 1 3
print_integer_field()
S
67 1 10
Nextgenthemes\ARVE\Common\Admin\Notices::dismissed_notices()
S
72 1 5
add_media_button()
S
70 1 7
add_dep_to_style()
S
74 1 4
ngt_options()
S
76 1 4
str_contains()
S
79 1 3
options()
S
77 1 4
has_bool_default_options()
S
66 1 10
Nextgenthemes\ARVE\Common\Admin\EDD\PluginUpdater::verify_ssl()
S
78 1 3