WPMenuEditor D

Total Complexity 825
Dependencies 17
Dependents 2
Total lines 5,224
Lines of code 3,151
Logical lines of code 1,656
Comment lines 1,357
Methods 141
Properties 43

Methods 141

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