YIT_Plugin_Panel D

Total Complexity 443
Dependencies 1
Dependents 0
Total lines 2,559
Lines of code 1,463
Logical lines of code 742
Comment lines 766
Methods 108
Properties 9

Methods 108

Method Rating Maintainability Complexity Lines of code
maybe_print_welcome_modal()
B
34 18 96
options_validate()
B
43 18 44
render_field()
A
42 15 48
init_wp_with_tabs()
A
43 15 42
print_help_tab()
A
42 12 46
get_sub_tabs_options()
A
55 12 18
get_custom_tab_options()
A
52 11 22
print_premium_tab()
A
45 9 41
get_current_tab()
A
51 10 25
get_current_sub_tab()
A
53 10 22
maybe_init_vars()
A
43 8 48
get_plugin_pricing()
A
47 8 34
admin_enqueue_scripts()
A
49 8 32
maybe_redirect_to_proper_wp_page()
A
56 9 16
__construct()
A
44 7 42
add_fields()
A
51 8 25
print_panel_tabs_in_wp_pages()
A
46 7 36
add_yith_ui()
A
56 8 16
get_nav_url()
S
56 8 15
render_panel_content_page()
S
52 7 24
get_taxonomy_tabs()
S
53 7 22
get_post_type_tabs()
S
53 7 22
get_template()
S
52 6 25
is_show_form()
S
57 6 16
get_default_options()
S
58 6 15
get_section_description()
S
61 6 11
add_menu_class_in_yith_plugin()
S
54 5 20
add_body_class()
S
61 6 10
get_first_sub_tab_key()
S
59 5 15
get_tab_title()
S
61 5 12
handle_welcome_modal_action()
S
59 5 12
get_tab_info_by_options()
S
61 5 12
get_section_title()
S
61 5 11
add_admin_bar_menu()
S
56 4 18
add_premium_version_upgrade_to_menu()
S
58 4 15
get_tab_type_by_options()
S
67 5 6
get_current_option_key()
S
66 5 8
is_panel()
S
70 5 5
is_first_page()
S
58 4 15
get_plugin_version_type()
S
63 4 12
add_setting_page()
S
59 4 12
print_your_store_tools_tab()
S
53 3 24
message()
S
53 3 20
print_tabs_nav()
S
56 3 18
add_plugin_banner()
S
65 4 9
get_options()
S
66 4 7
add_utm_data_on_premium_tab()
S
73 4 4
has_help_tab()
S
75 4 3
is_free()
S
70 4 5
get_tabs_path_files()
S
60 3 13
print_sub_tabs_nav()
S
60 3 13
add_menu_page()
S
60 3 12
get_doc_url()
S
63 3 11
init_admin_tabs()
S
63 3 11
render_panel_header_nav()
S
58 2 17
has_premium_tab()
S
77 3 3
is_current_panel()
S
66 3 8
is_custom_tab()
S
73 3 4
render_panel_header()
S
60 2 13
sort_plugins()
S
61 2 13
print_panel_tabs_in_wp_pages_end()
S
62 2 12
get_panel_content_classes()
S
65 2 11
yit_panel()
S
55 1 21
apply_filters()
S
64 2 9
is_custom_taxonomy_page()
S
70 2 5
add_utm_data()
S
68 2 7
has_panel_header_nav()
S
79 2 3
render_mobile_header()
S
66 2 10
set_parent_file_to_handle_menu_for_wp_pages()
S
72 2 6
set_submenu_file_to_handle_menu_for_wp_pages()
S
71 2 6
print_custom_tab()
S
66 2 8
maybe_init_premium_tab()
S
65 2 9
maybe_init_your_store_tools_tab()
S
64 2 9
maybe_init_help_tab()
S
65 2 9
add_infobox()
S
70 2 6
maybe_init_welcome_modals()
S
69 2 6
is_custom_post_type_page()
S
70 2 5
print_sidebar_header()
S
66 2 10
init_actions()
S
65 2 8
get_sub_tabs_nav_layout()
S
69 2 6
get_message()
S
64 1 11
save_toggle_element_options()
S
82 1 3
get_page_data()
S
70 1 6
get_page_title()
S
75 1 4
get_header_title()
S
72 1 4
get_plugin_slug()
S
79 1 3
get_plugin_name()
S
78 1 3
get_page_description()
S
75 1 4
get_options_from_path()
S
81 1 3
register_settings()
S
77 1 3
get_ui_version()
S
79 1 3
is_your_store_tools_tab()
S
80 1 3
remove_duplicate_submenu_page()
S
80 1 3
is_help_tab()
S
80 1 3
get_notices()
S
82 1 3
is_premium_tab()
S
80 1 3
add_notice()
S
71 1 6
removable_query_args()
S
76 1 4
has_your_store_tools_tab()
S
79 1 3
is_premium()
S
79 1 3
get_main_array_options()
S
77 1 4
get_sub_tabs()
S
75 1 4
get_name_field()
S
78 1 3
get_id_field()
S
78 1 3
add_videobox()
S
89 1 2
print_video_box()
S
91 1 2
is_extended()
S
79 1 3
get_tabs_hierarchy()
S
77 1 4