Branch Coverage

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


line true false branch
61 0 0 if ($VERBOSE_DOMops > 0)
63 0 0 exists $params->{'mech-obj'} ? :
64 0 0 unless ($amech_obj)
72 0 0 exists $params->{'js-outfile'} ? :
79 0 0 unless exists $params->{$asel} and defined $params->{$asel}
80 0 0 if (ref $params->{$asel} eq '') { }
0 0 elsif (ref $params->{$asel} eq 'ARRAY') { }
93 0 0 if ($VERBOSE_DOMops > 1)
95 0 0 unless ($have_a_selector)
107 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'}) { }
126 0 0 if (exists $params->{$acbname} and defined($m = $params->{$acbname}))
128 0 0 if (ref $m ne "ARRAY")
135 0 0 unless (exists $acbitem->{'code'} and exists $acbitem->{'name'})
144 0 0 if ($VERBOSE_DOMops > 0)
162 0 0 $Union ? :
0 0 if ($VERBOSE_DOMops > 1)
173 0 0 if (exists $params->{'element-information-from-matched'} and defined($m = $params->{'element-information-from-matched'})) { }
185 0 0 unless exists $callbacks{$acbname}
226 0 0 defined $insert_id_if_none ? :
294 0 0 if ($Union) { }
299 0 0 if ($VERBOSE_DOMops > 1)
304 0 0 if ($VERBOSE_DOMops > 1)
444 0 0 if ($VERBOSE_DOMops > 2)
446 0 0 if (defined $js_outfile)
447 0 0 if (open my $FH, '>', $js_outfile) { }
452 0 0 if ($@)
459 0 0 unless (defined $retval)
488 0 0 if ($VERBOSE_DOMops > 0)
490 0 0 exists $params->{'mech-obj'} ? :
491 0 0 unless ($amech_obj)
494 0 0 exists $params->{'find-cb-on-matched'} && defined $params->{'find-cb-on-matched'} ? :
503 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'})
517 0 0 unless (defined $ret)
525 0 0 if ($ret->{'status'} < 0)