YouTubePrefs D

Total Complexity 937
Dependencies 2
Dependents 0
Total lines 8,697
Lines of code 7,736
Logical lines of code 2,577
Comment lines 126
Methods 148
Properties 127

Methods 148

Method Rating Maintainability Complexity Lines of code
ytprefs_show_options()
D
0
36 1,785
get_html()
D
7
102 343
wizard()
D
7
64 680
settings_save()
D
13
87 262
vi_admin_dashboard()
D
10
17 1,044
get_gallery_page()
D
25
35 152
ytprefs_show_onboarding()
C
23
9 326
get_search_page()
C
32 24 101
initoptions()
C
19
10 303
my_embedplus_glance_vids()
B
32 18 106
vi_adstxt_status()
B
33 16 114
vi_admin_dashboard_valid()
A
40 14 63
init_dimensions()
A
46 15 42
wp_insert_vi_gdpr_popup_wp_footer()
A
37 12 78
ytprefsscript()
A
39 13 62
__construct()
A
37 11 77
wp_insert_vi_api_is_eu()
A
41 10 62
double_plugin_warning()
A
43 9 67
vi_token_expire()
A
48 11 33
apply_prefs_shortcode_embedplusvideo()
A
49 11 27
glance_page()
A
36 4 121
admin_enqueue_scripts()
A
41 8 52
vi_cache_endpoints_valid()
A
51 9 28
vi_cache_js_valid()
A
51 9 25
vi_login_api_valid()
A
52 9 24
vi_adstxt_status_soft()
A
42 6 60
jsvars()
A
51 8 27
vi_adstxt_api_valid()
A
52 8 24
vi_script_tag()
A
52 8 24
vi_js_placement()
S
59 8 14
do_ytprefs()
S
51 7 27
vi_reports_valid()
S
53 7 24
get_channel_snippet()
S
54 7 19
get_live_snippet()
S
54 7 19
get_video_snippet()
S
54 7 19
gb_render_callback_youtube()
S
59 7 12
vi_adstxt_download()
S
51 6 24
vi_adstxt_status_soft_ajax()
S
53 6 23
vi_toggle_ajax()
S
55 6 19
vi_notice_login_reminder()
S
50 5 34
vi_login()
S
45 4 46
is_ajax()
S
63 7 9
is_restrict_wizard()
S
61 6 12
vi_print_toggle_button()
S
55 5 25
vi_reports_ajax()
S
52 5 25
wp_insert_vi_gdpr_data_init()
S
54 5 20
onboarding_save_valid()
S
48 4 34
defer_scripts()
S
55 5 19
get_blogwidth()
S
56 5 18
my_embedplus_glance_count()
S
49 4 33
vi_cache_js()
S
49 4 31
keyvalue()
S
59 5 13
custom_admin_pointers()
S
50 4 26
gb_editor_assets()
S
53 4 24
custom_admin_pointers_footer()
S
50 3 39
get_oembed()
S
54 4 21
vi_logout_ajax()
S
55 4 20
media_button_wizard()
S
57 4 19
get_responsiveselector()
S
58 4 19
settings_nav()
S
54 3 34
vi_get_home_path()
S
55 4 19
vi_hide_feature_ajax()
S
56 4 19
vi_adstxt_lookup()
S
57 4 17
vi_login_valid()
S
59 4 16
vi_cache_endpoints_ajax()
S
59 4 15
fitvids()
S
66 5 7
vi_login_ajax()
S
59 4 15
filter_the_content_light()
S
62 5 10
onboarding_save_ajax()
S
60 4 14
onboarding_save_apikey_ajax()
S
60 4 14
custom_admin_pointers_check()
S
60 4 14
vi_cache_endpoints()
S
52 3 25
vi_admin_dashboard_pre()
S
55 3 25
glance_script()
S
54 1 52
onboarding_save()
S
48 2 35
get_thumbnail_html()
S
55 3 19
onboarding_save_apikey_valid()
S
58 3 16
using_gutenberg()
S
66 4 8
separate_version_message()
S
64 4 8
settings_save_ajax()
S
58 3 15
try_get_ytid()
S
58 3 15
get_aspect_height()
S
62 3 12
vi_save_changes_button()
S
57 2 25
save_changes_button()
S
58 2 23
onboarding_save_apikey()
S
56 2 19
vi_db_init_schema()
S
57 2 18
my_embedplus_dismiss_double_plugin_warning()
S
58 2 16
clean_api_error_html()
S
64 3 10
secondsToDuration()
S
59 2 15
wp_insert_vi_gdpr_popup_init()
S
66 3 8
has_api_key()
S
68 3 7
user_in_roles_any()
S
64 3 10
postchecked()
S
77 3 3
get_search_result_html()
S
51 1 30
apply_prefs_shortcode_youtube()
S
64 3 9
apply_prefs_shortcode()
S
64 3 9
gb_classic_block_setup()
S
66 3 8
gb_register_block_types()
S
60 2 15
compare_vid_date()
S
69 3 7
vi_cache_user_adstxt()
S
60 2 14
vi_settings_nav()
S
69 1 16
wp_above_version()
S
67 2 8
vi_script_setup_done()
S
69 2 7
tryget()
S
78 2 3
my_plugin_action_links()
S
66 2 8
ao_override_jsexclude()
S
68 2 7
vi_last_login_valid()
S
65 2 9
my_embedplus_gallery_page()
S
65 2 9
vi_cron_stop()
S
69 2 7
check_double_plugin_warning()
S
71 2 6
gdpr_mode()
S
76 2 3
set_cfasync()
S
69 2 7
get_evselector()
S
68 2 8
vi_cron_interval()
S
63 1 11
vi_cron_cache_js()
S
89 1 2
wp_insert_vi_gdpr_popup_wp_enqueue()
S
72 1 4
apply_prefs_content()
S
75 1 4
on_deactivation()
S
80 1 3
base_url()
S
74 1 4
live_fallback_template()
S
77 1 3
vi_ever_logged_in()
S
79 1 3
ajax_referer()
S
78 1 3
vi_remote_get()
S
68 1 7
gb_block_assets()
S
77 1 3
gb_add_tinymce_plugin()
S
73 1 4
gb_register_tinymce_button()
S
76 1 4
gb_svg_defs()
S
80 1 5
update_option_set()
S
70 1 6
vi_js_shortcode()
S
80 1 3
vi_cover_prompt_yes()
S
78 1 3
vi_debug_json()
S
78 1 3
vi_not_vi_adstxt_line()
S
78 1 3
debuglog()
S
72 1 5
formatDuration()
S
64 1 9
vi_logged_in()
S
78 1 3
clean_api_error()
S
77 1 3
get_html_widget()
S
78 1 3
get_html_content()
S
78 1 3
ytprefs_plugin_menu()
S
63 1 8
show_glance_list()
S
68 1 7
show_glance()
S
74 1 4
apply_prefs_widget()
S
75 1 4
get_glance_count()
S
64 1 10
vi_monetize_title()
S
80 1 5
vi_remote_post_anon()
S
68 1 7
vi_remote_post()
S
67 1 7
show_glance_table()
S
65 1 9
exclude_lazy_sgo()
S
76 1 4