Condition Coverage

blib/lib/HTML/Widgets/NavMenu/Url.pm
Criterion Covered Total %
condition 26 26 100.0


and 2 conditions

line l !l condition
72 62 472 scalar @this_url and scalar @other_url
130 5 86 $to->_is_dir and $base->_mode ne "harddisk" and scalar @components

and 3 conditions

line !l l&&!r l&&r condition
72 204 129 139 scalar @this_url and scalar @other_url and $this_url[0] eq $other_url[0]
99 387 1 2 $base->_mode eq "harddisk" and $to->_is_dir
108 249 21 29 scalar @this_url == 0 and scalar @other_url == 0
119 12 1 257 $to->_is_dir and $base->_mode ne "harddisk"
130 4 1 86 $to->_is_dir and $base->_mode ne "harddisk"

or 2 conditions

line l !l condition
32 681 110 $is_dir || 0
34 782 9 $mode || 'server'

or 3 conditions

line l !l&&r !l&&!r condition
80 333 24 38 @this_url or @other_url