YIT_Plugin_Panel D

Total Complexity 281
Dependencies 0
Dependents 0
Total lines 1,449
Lines of code 788
Logical lines of code 443
Comment lines 441
Methods 59
Properties 8

Methods 59

Method Rating Maintainability Complexity Lines of code
options_validate()
B
44 19 40
get_sub_tabs()
A
55 14 18
init_wp_with_tabs()
A
47 12 34
render_field()
A
49 12 27
print_tabs_nav()
A
44 11 40
admin_enqueue_scripts()
A
52 9 23
_maybe_init_vars()
A
48 8 31
maybe_redirect_to_proper_wp_page()
A
59 9 11
__construct()
A
46 7 35
add_yith_ui()
A
56 8 16
get_nav_url()
S
56 8 15
get_taxonomy_tabs()
S
57 7 15
get_post_type_tabs()
S
57 7 15
add_fields()
S
56 7 15
get_tab_info_by_options()
S
61 7 11
is_show_form()
S
58 6 16
yit_panel()
S
45 4 46
get_default_options()
S
58 6 15
get_current_tab()
S
58 6 15
add_plugin_banner()
S
51 5 27
get_current_sub_tab()
S
61 6 12
add_menu_class_in_yith_plugin()
S
54 5 20
is_custom_tab()
S
62 6 10
get_first_sub_tab_key()
S
60 5 14
get_tab_title()
S
61 5 12
add_admin_bar_menu()
S
57 4 16
get_section_description()
S
62 5 10
get_tab_type_by_options()
S
67 5 6
add_premium_version_upgrade_to_menu()
S
59 4 14
add_setting_page()
S
59 4 12
message()
S
53 3 20
add_body_class()
S
66 4 7
get_section_title()
S
63 4 10
get_options()
S
66 4 7
print_panel_tabs_in_wp_pages()
S
59 3 14
get_tabs_path_files()
S
60 3 13
print_sub_tabs_nav()
S
60 3 13
add_menu_page()
S
60 3 12
get_current_option_key()
S
67 3 8
is_custom_post_type_page()
S
68 2 6
set_submenu_file_to_handle_menu_for_wp_pages()
S
71 2 6
set_parent_file_to_handle_menu_for_wp_pages()
S
72 2 6
get_message()
S
69 2 7
add_infobox()
S
70 2 6
print_panel_tabs_in_wp_pages_end()
S
75 2 5
is_custom_taxonomy_page()
S
68 2 6
sort_plugins()
S
64 2 10
_init_actions()
S
66 2 8
is_free()
S
77 2 3
get_tabs_hierarchy()
S
78 1 4
print_custom_tab()
S
81 1 3
remove_duplicate_submenu_page()
S
80 1 3
register_settings()
S
77 1 3
get_main_array_options()
S
78 1 4
print_video_box()
S
91 1 2
add_videobox()
S
89 1 2
get_id_field()
S
79 1 3
get_name_field()
S
78 1 3
save_toggle_element_options()
S
82 1 3