AddMenuPage D

Total Complexity 168
Dependencies 1
Dependents 0
Total lines 594
Lines of code 459
Logical lines of code 256
Comment lines 8
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
field_generator()
D
18
96 153
display_function()
B
31 12 158
generate_field_text()
S
56 6 16
get_current_page()
S
57 5 17
display_fields()
S
58 5 15
whitelist_options()
S
59 5 14
get_option_id()
S
74 3 4
add_in_menu()
S
74 3 4
add_menu_in_admin_menu()
S
62 3 10
get_capability()
S
75 2 4
get_option_name()
S
75 2 4
get_page_title()
S
75 2 4
get_menu_title()
S
75 2 4
get_menu_name()
S
75 2 4
get_menu_page_title()
S
75 2 4
__construct()
S
65 2 8
get_menu_slug()
S
75 2 4
get_menu_icon()
S
75 2 4
get_settings_name()
S
75 2 4
get_menu_type()
S
75 2 4
get_item_version()
S
75 2 4
get_item_name()
S
75 2 4
section_callback()
S
66 2 8
get_pages()
S
75 2 4