Code Analysis: ARVE Advanced Responsive Video Embedder 9.5.2-beta3

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