Condition Coverage

lib/Test/WWW/Mechanize/Driver/Util.pm
Criterion Covered Total %
condition 3 46 6.5


and 3 conditions

line !l l&&!r l&&r condition
48 0 0 0 reftype $v && 'ARRAY' eq reftype $v
106 0 0 0 @_ and 'HASH' eq ref $_[-1]
108 0 0 0 exists $$o{'false_pat'} and defined $$o{'false_pat'}
112 0 0 0 $#{$x;} >= $x[0] and $$x[$x[0]]
113 0 0 0 not ref $$x[$x[0]] and $$x[$x[0]] =~ /$$o{'false_pat'}/
118 0 0 0 exists $$x{$x[0]} and $$x{$x[0]}
119 0 0 0 not ref $$x{$x[0]} and $$x{$x[0]} =~ /$$o{'false_pat'}/
147 0 4 0 @_ and 'HASH' eq ref $_[-1]
152 0 0 0 $#{$x;} >= $x[0] and defined $$x[$x[0]]
155 1 0 3 exists $$x{$x[0]} and defined $$x{$x[0]}

or 2 conditions

line l !l condition
114 0 0 @{$$x[$x[0]];} or return 0
115 0 0 %{$$x[$x[0]];} or return 0
116 0 0 TRUE($$x[$x[0]], [@x[1 .. $#x]], $o) or return 0
120 0 0 @{$$x{$x[0]};} or return 0
121 0 0 %{$$x{$x[0]};} or return 0
122 0 0 TRUE($$x{$x[0]}, [@x[1 .. $#x]], $o) or return 0
153 0 0 HAS($$x[$x[0]], [@x[1 .. $#x]], $o) or return 0
156 0 0 HAS($$x{$x[0]}, [@x[1 .. $#x]], $o) or return 0