YouTubePrefs D

Total Complexity 666
Dependencies 2
Dependents 0
Total lines 6,067
Lines of code 5,378
Logical lines of code 1,984
Comment lines 86
Methods 95
Properties 110

Methods 95

Method Rating Maintainability Complexity Lines of code
ytprefs_show_options()
D
0
30 1,739
get_html()
D
7
102 343
wizard()
D
8
60 664
settings_save()
D
13
86 261
get_gallery_page()
D
25
35 152
get_search_page()
C
32 24 101
initoptions()
B
21
10 264
ytprefs_show_onboarding()
B
24
7 307
my_embedplus_glance_vids()
B
32 18 106
init_dimensions()
A
46 15 42
ytprefsscript()
A
39 13 60
__construct()
A
38 11 75
double_plugin_warning()
A
43 9 67
apply_prefs_shortcode_embedplusvideo()
A
49 11 27
glance_page()
A
36 4 121
admin_enqueue_scripts()
A
42 8 48
jsvars()
A
51 8 27
do_ytprefs()
S
51 7 27
get_live_snippet()
S
54 7 19
get_video_snippet()
S
54 7 19
get_channel_snippet()
S
54 7 19
gb_render_callback_youtube()
S
59 7 12
is_ajax()
S
63 7 9
is_restrict_wizard()
S
61 6 12
onboarding_save_valid()
S
48 4 34
defer_scripts()
S
55 5 19
my_embedplus_glance_count()
S
49 4 33
get_blogwidth()
S
56 5 18
keyvalue()
S
59 5 13
gb_editor_assets()
S
53 4 24
custom_admin_pointers_footer()
S
50 3 39
get_oembed()
S
54 4 21
get_responsiveselector()
S
58 4 19
filter_the_content_light()
S
62 5 10
fitvids()
S
66 5 7
onboarding_save_ajax()
S
60 4 14
onboarding_save_apikey_ajax()
S
60 4 14
custom_admin_pointers_check()
S
60 4 14
custom_admin_pointers()
S
52 3 22
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
settings_save_ajax()
S
58 3 15
using_gutenberg()
S
66 4 8
separate_version_message()
S
64 4 8
try_get_ytid()
S
58 3 15
get_aspect_height()
S
62 3 12
save_changes_button()
S
58 2 23
onboarding_save_apikey()
S
56 2 19
my_embedplus_dismiss_double_plugin_warning()
S
58 2 16
postchecked()
S
77 3 3
gb_classic_block_setup()
S
66 3 8
gb_register_block_types()
S
60 2 15
user_in_roles_any()
S
64 3 10
get_search_result_html()
S
51 1 30
apply_prefs_shortcode_youtube()
S
64 3 9
secondsToDuration()
S
59 2 15
clean_api_error_html()
S
64 3 10
has_api_key()
S
68 3 7
compare_vid_date()
S
69 3 7
apply_prefs_shortcode()
S
64 3 9
media_button_wizard()
S
61 2 13
settings_nav()
S
63 1 17
my_embedplus_gallery_page()
S
65 2 9
check_double_plugin_warning()
S
71 2 6
get_evselector()
S
68 2 8
set_cfasync()
S
69 2 7
tryget()
S
78 2 3
wp_above_version()
S
67 2 8
ao_override_jsexclude()
S
68 2 7
my_plugin_action_links()
S
66 2 8
gdpr_mode()
S
76 2 3
apply_prefs_content()
S
75 1 4
base_url()
S
74 1 4
ytprefs_plugin_menu()
S
65 1 7
gb_svg_defs()
S
80 1 5
gb_register_tinymce_button()
S
76 1 4
gb_add_tinymce_plugin()
S
73 1 4
debuglog()
S
72 1 5
gb_block_assets()
S
77 1 3
update_option_set()
S
70 1 6
on_deactivation()
S
89 1 2
ajax_referer()
S
78 1 3
exclude_lazy_sgo()
S
76 1 4
clean_api_error()
S
77 1 3
live_fallback_template()
S
77 1 3
show_glance()
S
74 1 4
get_html_widget()
S
78 1 3
show_glance_table()
S
65 1 9
show_glance_list()
S
68 1 7
get_html_content()
S
78 1 3
formatDuration()
S
64 1 9
apply_prefs_widget()
S
75 1 4
get_glance_count()
S
64 1 10