WPMenuEditor D

Total Complexity 854
Dependencies 20
Dependents 3
Total lines 5,507
Lines of code 3,336
Logical lines of code 1,718
Comment lines 1,420
Methods 145
Properties 45

Methods 145

Method Rating Maintainability Complexity Lines of code
handle_form_submission()
D
21
47 189
prepare_for_output()
D
29
45 102
get_current_menu_item()
D
31 38 100
hook_admin_menu()
D
27
28 139
menu_merge()
C
34 25 91
set_final_menu_capability()
C
34 24 99
build_top_level_item()
B
39 22 63
filter_global_menu()
B
39 21 69
init()
B
26
10 172
load_custom_menu()
A
45 16 40
enqueue_scripts()
A
34 12 90
display_editor_ui()
A
41 13 51
hook_admin_title()
A
49 13 29
page_menu_editor()
A
46 12 37
apply_woocommerce_compat_fix()
A
48 12 33
get_wpml_strings()
A
49 12 32
save_hideable_items()
A
46 11 40
display_survey_notice()
A
46 11 37
urlPathsMatch()
A
50 11 27
set_custom_menu()
A
46 10 40
display_settings_page_header()
A
46 10 35
display_plugin_menu_notice()
A
47 10 34
apply_woocommerce_order_count_fix()
A
53 10 21
init_finish()
A
47 9 36
update_hideable_menu_items()
A
50 9 27
get_post_type_details()
A
50 9 27
ajax_get_page_details()
A
50 9 26
get_base_dependencies()
A
39 6 70
merge_children()
A
52 8 24
get_available_modules()
A
36 3 97
remove_link_manager_menus()
A
53 8 22
load_cap_power()
A
53 8 21
apply_divi_training_fix()
A
55 8 19
repair_database()
A
44 6 48
maybe_reset_plugin_access()
A
57 8 16
load_modules()
S
49 7 30
build_custom_wp_menu()
S
50 7 29
get_virtual_caps()
S
53 7 25
get_taxonomy_details()
S
52 7 23
build_virtual_capability_list()
S
54 7 21
move_editor_scripts_to_top()
S
53 7 21
arrayDiffAssocRecursive()
S
54 7 21
add_access_lookup()
S
55 7 20
map_basic_meta_cap()
S
54 6 21
get_virtual_caps_for()
S
55 6 19
apply_bbpress_compat_fix()
S
58 6 16
is_module_compatible()
S
58 6 15
register_menus_as_hideable()
S
50 5 28
array_replace_recursive()
S
60 6 12
get_safe_js_libraries()
S
45 3 50
register_hideable_items()
S
49 4 34
grant_virtual_caps_to_user()
S
56 5 19
update_nesting_settings()
S
57 5 18
current_user_can()
S
57 5 18
detect_meta_caps()
S
56 5 17
update_wpml_strings()
S
58 5 16
on_user_metadata_changed()
S
60 5 14
is_customization_disabled()
S
60 5 13
get_user_roles()
S
62 5 12
get_active_admin_menu_tree()
S
62 5 11
ajax_get_pages()
S
52 4 25
user_can_access_current_page()
S
54 4 22
enqueue_helper_scripts()
S
55 4 20
enqueue_helper_styles()
S
57 4 19
castValuesToBool()
S
57 4 17
add_special_templates()
S
46 2 47
prepare_children_for_output()
S
59 4 15
user_can_edit_menu()
S
58 4 15
register_base_dependencies()
S
58 4 15
add_plugin_row_meta_links()
S
60 4 14
get_jquery_plugins()
S
59 4 14
enqueue_styles()
S
50 3 29
update_virtual_cap_cache()
S
59 4 14
ajax_hide_hint()
S
60 4 14
capture_request_vars()
S
62 4 12
is_module_active()
S
62 4 12
register_jquery_plugins()
S
63 4 11
parse_url()
S
54 3 23
build_nested_submenu()
S
53 3 23
analyse_role_meta_caps()
S
54 3 21
display_editor_tabs()
S
57 3 18
extract_user_roles()
S
67 4 7
is_tab_open()
S
71 4 5
user_to_property_map()
S
61 3 11
current_user_can_edit_menu()
S
62 3 11
get_webpack_registry()
S
63 3 11
endsWith()
S
63 3 11
update_current_user_cache()
S
66 3 8
log_security_note()
S
65 3 10
show_config_corruption_error()
S
64 3 10
get_active_modules()
S
64 3 10
ajax_disable_dashboard_hiding_confirmation()
S
67 3 7
apply_wpmu_domain_mapping_fix()
S
69 3 6
guess_menu_config_id()
S
66 3 9
import_settings()
S
66 3 9
get_wpml_name_for()
S
64 3 10
get_hint_visibility()
S
61 2 13
enqueue_menu_fix_script()
S
62 2 12
get_default_menu()
S
62 2 12
convert_to_wp_format()
S
63 2 11
filter_default_links_submenus()
S
71 2 5
trigger_tab_load_event()
S
73 2 5
regrant_virtual_caps_to_user()
S
69 2 7
get_wp_version()
S
71 2 6
module_path_exists()
S
78 2 3
get_new_menu_grant_access()
S
70 2 6
is_item_visitable()
S
78 2 3
make_hideable_item_id()
S
64 2 9
collect_menu_cap()
S
72 2 5
is_editor_page()
S
79 2 3
save_options()
S
73 2 6
set_many_plugin_options()
S
70 2 6
get_tab_url()
S
70 2 6
should_use_site_specific_menu()
S
70 2 6
get_plugin_page_url()
S
68 2 7
clear_site_specific_caches()
S
64 2 10
get_menu_item_by_url()
S
71 2 6
get_plugin_option()
S
71 2 6
dequeue_pd_scripts()
S
74 2 5
should_store_security_log()
S
71 2 6
replace_wp_menu()
S
62 1 12
get_default_options()
S
82 1 3
is_tab_registered()
S
79 1 3
is_settings_page()
S
80 1 3
get_loaded_modules()
S
82 1 3
apply_mailpoet_compat_fix()
S
79 1 3
get_loaded_menu_config_id()
S
82 1 3
get_settings_page_url()
S
79 1 3
is_custom_menu_deep()
S
82 1 3
_whitelist_ame_styles_for_mailpoet()
S
69 1 7
get_formatted_security_log()
S
70 1 6
set_hint_visibility()
S
75 1 4
display_plugin_settings_ui()
S
68 1 7
set_plugin_option()
S
76 1 4
display_settings_page_footer()
S
82 1 3
restore_wp_menu()
S
73 1 5
remove_ultimate_tinymce_qtags()
S
80 1 3
is_pro_version()
S
79 1 3
get_settings_page_heading_text()
S
73 1 6
display_security_log()
S
70 1 10
dequeue_ai1ec_scripts()
S
74 1 5
get_user_by_id()
S
80 1 3
get_post_params()
S
82 1 3
get_query_params()
S
82 1 3
get_security_log()
S
82 1 3