WP_Navigation_Block_Renderer B

Total Complexity 95
Dependencies 2
Dependents 1
Total lines 649
Lines of code 362
Logical lines of code 175
Comment lines 203
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
get_responsive_container_markup()
A
38 9 80
get_inner_blocks()
A
51 10 26
get_inner_blocks_html()
A
47 9 37
handle_view_script_loading()
A
54 9 21
get_layout_class()
S
53 7 22
render()
S
55 6 19
get_navigation_name()
S
56 5 18
get_classes()
S
55 5 18
get_nav_element_directives()
S
53 3 24
has_submenus()
S
59 3 15
should_load_view_script()
S
71 4 5
is_responsive()
S
73 4 4
get_inner_blocks_from_navigation_post()
S
62 3 11
get_nav_wrapper_attributes()
S
56 2 19
get_inner_blocks_from_fallback()
S
68 3 7
get_markup_for_inner_block()
S
65 3 9
get_unique_navigation_name()
S
66 3 8
is_always_overlay()
S
77 2 3
get_styles()
S
69 2 6
get_wrapper_markup()
S
68 2 7
does_block_need_a_list_item_wrapper()
S
79 1 3