Condition Coverage

blib/lib/CGI/Widget/Path.pm
Criterion Covered Total %
condition 4 22 18.1


and 3 conditions

line !l l&&!r l&&r condition
14 1 0 1 defined $$self{'link_last'} and $$self{'link_last'} =~ /^(0|1)$/
15 2 0 0 defined $$self{'link'} and $$self{'link'} =~ /^(0|1)$/
36 0 0 0 exists ${@{$$self{'elems'};};}[$i]{'name'} and ${@{$$self{'elems'};};}[$i]{'name'} ne ''
40 0 0 0 $$wrap{'tag'} =~ /^a$/i and $i == $#{@{$$self{'elems'};};} && !$$self{'link_last'} || !$$self{'link'}

or 2 conditions

line l !l condition
24 0 0 $$self{'elems'}[0]{'name'} ||= 'root'
60 0 0 $args{'lenght'} ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
11 0 2 0 ref $proto || $proto
40 0 0 0 $i == $#{@{$$self{'elems'};};} && !$$self{'link_last'} || !$$self{'link'}