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 487 scalar @this_url and scalar @other_url
130 5 92 $to->_is_dir and $base->_mode ne "harddisk" and scalar @components

and 3 conditions

line !l l&&!r l&&r condition
72 219 129 139 scalar @this_url and scalar @other_url and $this_url[0] eq $other_url[0]
99 402 1 2 $base->_mode eq "harddisk" and $to->_is_dir
108 258 21 29 scalar @this_url == 0 and scalar @other_url == 0
119 12 1 266 $to->_is_dir and $base->_mode ne "harddisk"
130 4 1 92 $to->_is_dir and $base->_mode ne "harddisk"

or 2 conditions

line l !l condition
32 705 116 $is_dir || 0
34 812 9 $mode || 'server'

or 3 conditions

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