Condition Coverage

lib/Test/WWW/Mechanize/Driver/Util.pm
Criterion Covered Total %
condition 9 46 19.5


and 3 conditions

line !l l&&!r l&&r condition
48 3 0 0 &reftype($v) && 'ARRAY' eq &reftype($v)
106 0 433 0 @_ and 'HASH' eq ref $_[-1]
108 433 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 313 0 120 exists $$x{$x[0]} and $$x{$x[0]}
119 0 120 0 not ref $$x{$x[0]} and $$x{$x[0]} =~ /$o->{'false_pat'}/
147 0 86 0 @_ and 'HASH' eq ref $_[-1]
152 0 0 0 $#{$x;} >= $x[0] and defined $$x[$x[0]]
155 40 0 46 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