Branch Coverage

blib/lib/WWW/Mechanize/Chrome/DOMops.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
59 0 0 if ($VERBOSE_DOMops > 0)
61 0 0 exists $params->{'mech-obj'} ? :
62 0 0 unless ($amech_obj)
70 0 0 exists $params->{'js-outfile'} ? :
77 0 0 unless exists $params->{$asel} and defined $params->{$asel}
78 0 0 if (ref $params->{$asel} eq '') { }
0 0 elsif (ref $params->{$asel} eq 'ARRAY') { }
91 0 0 if ($VERBOSE_DOMops > 1)
93 0 0 unless ($have_a_selector)
105 0 0 if (exists $params->{'insert-id-if-none-random'} and defined $params->{'insert-id-if-none-random'}) { }
0 0 elsif (exists $params->{'insert-id-if-none'} and defined $params->{'insert-id-if-none'}) { }
124 0 0 if (exists $params->{$acbname} and defined($m = $params->{$acbname}))
125 0 0 if (ref $m ne "ARRAY")
131 0 0 unless (exists $acbitem->{'code'} and exists $acbitem->{'name'})
138 0 0 if ($VERBOSE_DOMops > 0)
156 0 0 $Union ? :
0 0 if ($VERBOSE_DOMops > 1)
164 0 0 unless exists $callbacks{$acbname}
201 0 0 defined $insert_id_if_none ? :
269 0 0 if ($Union) { }
274 0 0 if ($VERBOSE_DOMops > 1)
279 0 0 if ($VERBOSE_DOMops > 1)
400 0 0 if ($VERBOSE_DOMops > 2)
402 0 0 if (defined $js_outfile)
403 0 0 if (open my $FH, '>', $js_outfile) { }
408 0 0 if ($@)
415 0 0 unless (defined $retval)
444 0 0 if ($VERBOSE_DOMops > 0)
446 0 0 exists $params->{'mech-obj'} ? :
447 0 0 unless ($amech_obj)
450 0 0 exists $params->{'find-cb-on-matched'} && defined $params->{'find-cb-on-matched'} ? :
459 0 0 unless (exists $params->{'insert-id-if-none-random'} and defined $params->{'insert-id-if-none-random'} or exists $params->{'insert-id-if-none'} and defined $params->{'insert-id-if-none'})
473 0 0 unless (defined $ret)
481 0 0 if ($ret->{'status'} < 0)