Condition Coverage

blib/lib/HTML/Widgets/NavMenu.pm
Criterion Covered Total %
condition 33 37 89.1


and 3 conditions

line !l l&&!r l&&r condition
379 28 2 81 @coords == 1 and $coords[0] > 0
400 8 17 2 @coords == 1 and $coords[0] == 0
588 20 64 154 scalar @$coords == 1 && $coords->[0] == 0
605 0 0 0 @$p > 1 and $p->[0]->host_url eq $p->[1]->host_url
676 92 21 63 $IS_TOP and $link_rel =~ /\A(?:prev|top|up)\z/ms

or 2 conditions

line l !l condition
52 27 26 $args{'ul_classes'} || []
57 0 53 $args{'coords_stop'} || 0
213 257 196 $item->_node->url || ''
517 27 25 $find_coords_iterator->get_final_coords || []
518 36 16 $find_coords_iterator->_get_leading_path_coords || []

or 3 conditions

line l !l&&r !l&&!r condition
136 510 186 109 _is_slash_terminated($text) || $text eq ''
175 25 18 408 $host ne $self->current_host or $url_type eq "full_abs"
400 19 2 25 not @coords or @coords == 1 and $coords[0] == 0
437 93 4 93 $do_once or $self->_is_skip($coords)