Condition Coverage

blib/lib/HTML/Widgets/NavMenu.pm
Criterion Covered Total %
condition 38 43 88.3


and 3 conditions

line !l l&&!r l&&r condition
99 30 240 0 $item->_accum_state->{'host'} eq $nav_menu->current_host && (defined $url && $url eq $nav_menu->path_info)
534 28 2 81 @coords == 1 and $coords[0] > 0
555 8 17 2 @coords == 1 and $coords[0] == 0
743 20 64 154 scalar @$coords == 1 && $coords->[0] == 0
760 0 0 0 @$p > 1 and $p->[0]->host_url eq $p->[1]->host_url
831 92 21 63 $IS_TOP and $link_rel =~ /\A(?:prev|top|up)\z/msu

or 2 conditions

line l !l condition
207 27 26 $args{'ul_classes'} || []
212 0 53 $args{'coords_stop'} || 0
368 257 196 $item->_node->url || ''
672 27 25 $find_coords_iterator->get_final_coords || []
673 36 16 $find_coords_iterator->_get_leading_path_coords || []

or 3 conditions

line l !l&&r !l&&!r condition
162 27 9 16 $self->_ret_coords || $self->_leading_path_coords
291 510 186 109 _is_slash_terminated($text) || $text eq ''
330 25 18 408 $host ne $self->current_host or $url_type eq "full_abs"
555 19 2 25 not @coords or @coords == 1 and $coords[0] == 0
592 93 4 93 $do_once or $self->_is_skip($coords)