Code Analysis: Advanced Responsive Video Embedder for Rumble, Odysee, YouTube, Vimeo, Kick ... 10.8.0

Function Rating Maintainability Complexity Lines of code
iframesrc_urlarg_autoplay()
C
37 32 71
Nextgenthemes\ARVE\SettingsDefinitions::main_settings()
B
23
5 298
Nextgenthemes\ARVE\Video::build_iframe_src()
B
39 19 61
Nextgenthemes\ARVE\Video::build_html()
B
36 17 76
Nextgenthemes\ARVE\ElementorWidget::register_controls()
B
40 18 60
Nextgenthemes\ARVE\Video::build_iframe_attr()
B
35 16 83
delete_oembed_cache()
B
33 12 118
Nextgenthemes\ARVE\Video::detect_provider_and_id_from_url()
B
44 17 41
compare_oembed_src_with_generated_src()
A
41 14 52
Nextgenthemes\ARVE\SettingsDefinitions::pro_settings()
A
28
1 203
settings_content()
A
35 6 127
Nextgenthemes\ARVE\Video::get_debug_info()
A
46 12 36
Nextgenthemes\ARVE\Video::detect_html5()
A
47 12 35
Nextgenthemes\ARVE\CLI::raw_settings()
A
45 11 40
filter_oembed_dataparse()
A
46 11 38
Nextgenthemes\ARVE\Video::arg_aspect_ratio()
A
50 11 28
Nextgenthemes\ARVE\Video::build_video_attr()
A
49 11 27
special_iframe_src_mods()
A
48 10 32
youtube_query_args()
A
31 1 164
settings()
A
51 10 27
action_admin_init_setup_messages()
A
42 8 56
Nextgenthemes\ARVE\Video::debug_compare_args_to_props()
A
46 9 39
translation()
A
50 9 32
Nextgenthemes\ARVE\Video::arg_iframe_src()
A
49 9 30
oembed_html2src()
A
45 8 45
register_shortcode_ui()
A
45 8 44
Nextgenthemes\ARVE\Video::detect_from_embed_code()
A
54 9 20
wp_video_shortcode_override()
A
56 9 19
Nextgenthemes\ARVE\Video::set_prop()
A
49 8 29
settings_data()
A
37 4 86
Nextgenthemes\ARVE\Video::build_seo_data()
A
47 7 36
arg_maxwidth()
A
55 8 18
delete_oembed_caches_when_missing_data()
A
55 8 18
validate_align()
A
57 8 18
Nextgenthemes\ARVE\Video::missing_attribute_check()
S
51 7 25
get_language_name_from_code()
S
31 1 112
dailymotion_query_args()
S
36 1 106
validate_aspect_ratio()
S
57 7 16
Nextgenthemes\ARVE\Video::oembed_data_errors()
S
58 7 15
shortcode()
S
51 6 25
Nextgenthemes\ARVE\Video::get_error_html()
S
52 6 24
Nextgenthemes\ARVE\SettingsDefinitions::sticky_settings()
S
37 1 98
add_site_health_metadata()
S
41 3 67
validate_thumbnail()
S
56 6 20
delete_transients()
S
49 5 33
is_gutenberg()
S
56 6 18
dialog_interactivity()
S
49 5 33
get_video_type()
S
60 6 15
Nextgenthemes\ARVE\Video::detect_tracks()
S
51 5 27
validate_type_bool()
S
47 4 42
addon_outdated_notice()
S
51 5 26
shortcode_pairs()
S
46 4 40
seconds_to_iso8601_duration()
S
52 5 24
Nextgenthemes\ARVE\Video::arg_img_src()
S
53 5 23
print_arve_news()
S
48 4 37
print_debug_errors()
S
53 5 21
add_styles_to_mce()
S
55 5 20
arg_mode()
S
56 5 19
settings_sidebar()
S
57 5 18
normalize_datetime_to_atom()
S
56 5 18
iframesrc_urlargs()
S
55 5 18
get_arg_type()
S
59 5 16
Nextgenthemes\ARVE\Video::iframesrc_urlarg_loop()
S
58 5 16
gutenberg_block()
S
52 4 31
maybe_init_addon()
S
62 6 10
port_licenses()
S
57 5 15
extract_oembed_data()
S
58 5 14
create_shortcode_dialog()
S
44 1 73
Nextgenthemes\ARVE\Video::arg_autoplay()
S
61 5 12
Nextgenthemes\ARVE\Video::process_shortcode_atts()
S
50 4 27
Nextgenthemes\ARVE\Video::build_video()
S
53 4 22
Nextgenthemes\ARVE\SettingsDefinitions::random_video_settings()
S
43 1 66
remove_embed_block_aspect_ratio()
S
55 4 21
create_legacy_shortcodes()
S
54 4 20
Nextgenthemes\ARVE\Video::arve_embed_inner_html()
S
55 4 19
admin_enqueue_scripts()
S
48 3 34
youtube_time_to_seconds()
S
56 4 18
validate_type_int()
S
58 4 17
is_dev_mode()
S
67 5 8
action_wp_enqueue_scripts()
S
62 4 12
create_url_handlers()
S
61 4 11
Nextgenthemes\ARVE\SettingsDefinitions::privacy_settings()
S
45 1 53
vimeo_query_args()
S
45 1 52
register_assets()
S
48 2 37
init()
S
47 2 34
settings_tabs()
S
46 1 49
Nextgenthemes\ARVE\CLI::update_block_json()
S
55 3 18
Nextgenthemes\ARVE\SettingsDefinitions::url_params_settings()
S
56 3 17
add_dashboard_widget()
S
57 3 17
validate_url()
S
59 3 15
Nextgenthemes\ARVE\Video::src_is_youtube_playlist()
S
65 4 9
display_pro_ad()
S
63 4 10
Nextgenthemes\ARVE\Video::set_video_properties_from_attachments()
S
68 4 7
args_video()
S
66 4 8
Nextgenthemes\ARVE\Video::build_iframe_tag()
S
59 3 14
Nextgenthemes\ARVE\Video::create_uid()
S
61 3 13
Nextgenthemes\ARVE\Video::promote_link()
S
60 3 13
get_latest_beta()
S
61 3 13
get_json_body_error_message()
S
61 3 12
Nextgenthemes\ARVE\ElementorWidget::render()
S
61 3 12
plugin_ver_status()
S
62 3 12
action_admin_bar_menu()
S
61 3 12
shortcode_option_defaults()
S
63 3 11
Nextgenthemes\ARVE\Video::build_video_tag()
S
62 3 11
is_valid_date_time()
S
57 2 19
ad_html()
S
57 2 18
settings_instance()
S
56 2 18
is_wp_error_array()
S
73 3 5
build_video()
S
68 3 7
Nextgenthemes\ARVE\Video::iframe_tag()
S
69 3 6
disabled_on_feeds()
S
77 3 3
yt_srcset()
S
64 3 9
cache_is_old_enough()
S
68 3 7
Nextgenthemes\ARVE\Video::card_consent_html()
S
66 3 8
iframesrc_urlarg_enablejsapi()
S
69 3 6
aspect_ratio_gcd()
S
66 3 8
filter_embed_oembed_html()
S
61 2 12
Nextgenthemes\ARVE\CLI::block_json()
S
62 2 11
Nextgenthemes\ARVE\SettingsDefinitions::html5_settings()
S
54 1 23
add_media_button()
S
54 1 22
init_admin()
S
56 1 17
Nextgenthemes\ARVE\SettingsDefinitions::debug_settings()
S
57 1 17
add_action_links()
S
64 2 10
create_shortcodes()
S
68 2 7
html_id()
S
71 2 6
uninstall()
S
70 2 6
is_amp()
S
78 2 3
Nextgenthemes\ARVE\Video::referrerpolicy()
S
68 2 7
Nextgenthemes\ARVE\Video::build_error_only_html()
S
65 2 9
remove_youtube_si_param()
S
68 2 7
arve_errors()
S
70 2 7
Nextgenthemes\ARVE\Video::card_html()
S
70 2 6
height_from_width_and_ratio()
S
67 2 7
Nextgenthemes\ARVE\Video::arg_upload_date()
S
70 2 6
tracks_html()
S
69 2 7
validate_height()
S
65 2 10
debug_pre()
S
66 2 9
get_first_glob()
S
68 2 7
url_query_array()
S
66 2 9
Nextgenthemes\ARVE\Video::get_debug_param()
S
69 2 6
maybe_delete_oembed_cache()
S
69 2 6
convert_to_shortcode_ui_options()
S
65 2 10
is_card()
S
73 2 4
vimeo_referer()
S
70 2 6
gcd()
S
78 2 3
widget_text()
S
60 1 13
pro_message()
S
61 1 13
error_wrap()
S
63 1 12
new_height()
S
73 1 5
register_elementor_widget()
S
76 1 4
default_options()
S
82 1 3
Nextgenthemes\ARVE\ElementorWidget::get_custom_help_url()
S
82 1 3
query_args()
S
69 1 7
has_timezone()
S
79 1 3
get_addon_link()
S
78 1 3
create_settings_instance()
S
83 1 3
aspect_ratio_to_percentage()
S
71 1 5
print_settings_box_html()
S
72 1 5
sane_provider_name()
S
69 1 6
Nextgenthemes\ARVE\ElementorWidget::get_title()
S
79 1 3
Nextgenthemes\ARVE\ElementorWidget::get_keywords()
S
79 1 3
Nextgenthemes\ARVE\ElementorWidget::get_categories()
S
80 1 3
Nextgenthemes\ARVE\CLI::pretty_json_output()
S
78 1 3
print_transient_message()
S
80 1 3
delete_oembed_cache_on_update()
S
80 1 3
Nextgenthemes\ARVE\Video::__construct()
S
77 1 4
url_handler()
S
64 1 9
get_host_properties()
S
80 1 3
init_nextgenthemes_settings()
S
72 1 6
Nextgenthemes\ARVE\ElementorWidget::get_name()
S
82 1 3
admin_enqueue_styles()
S
67 1 8
Nextgenthemes\ARVE\Video::__set()
S
80 1 3
Nextgenthemes\ARVE\ElementorWidget::get_icon()
S
82 1 3
options()
S
82 1 3
Nextgenthemes\ARVE\CLI::delete_oembed_cache()
S
81 1 3