ameMenuItem D

Total Complexity 138
Dependencies 4
Dependents 7
Total lines 790
Lines of code 433
Logical lines of code 220
Comment lines 271
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
template_id()
B
41 20 55
normalize()
B
43 17 45
sanitize()
A
47 15 32
fromWpItem()
A
46 12 34
remove_update_count()
A
49 9 28
is_hook_or_plugin_page()
A
53 8 23
add_class_to_submenu_item()
A
55 8 19
fix_defaults()
A
56 8 18
generate_url()
S
55 7 18
basic_defaults()
S
49 3 33
sanitize_string_prop()
S
62 4 12
apply_defaults()
S
63 4 10
get()
S
64 3 11
get_site_url()
S
62 3 11
blank_menu()
S
54 2 23
custom_item_defaults()
S
55 2 20
compare_position()
S
64 3 9
is_wp_admin_file()
S
64 3 9
is_default()
S
68 2 7
remove_query_from()
S
68 2 7
apply_filters()
S
77 1 3
is_safe_to_append()
S
78 1 3
clear_per_site_cache()
S
80 1 3