Condition Coverage

blib/lib/XML/XPathScript/Processor.pm
Criterion Covered Total %
condition 40 65 61.5


and 3 conditions

line !l l&&!r l&&r condition
325 0 3 3237 $charlength == 4 and $bytelength == 4
0 0 3 $charlength == 4 and $bytelength == 6
347 129 0 0 $node->isa('XML::XPath::Node::Element') and not $self->isa('XML::XPath::Node::ElementImpl')
129 0 0 $node->isa('XML::XPath::Node::Element') and not $self->isa('XML::XPath::Node::ElementImpl') and $node =~ /SCALAR/
376 3 102 4 $self->is_element_node($node) and my $id = $self->findvalue('@id', $node)
415 218 2885 1 $self->{'binmode'} and $self->is_utf8_tainted($retval)
448 8 1410 0 defined $action and $action == 0
451 8 1408 2 defined $action and $action == 2
502 87 1434 0 $action =~ /^-?\d+$/ and $action == 0
504 53 1434 34 defined $action and not $action =~ /^-?\d+/
614 1 0 9 $action and %$t
622 1 10 1 $action =~ /^-?\d+$/ and $action == $DO_NOT_PROCESS
669 0 1901 85 defined $string and $self->{'is_interpolating'}

or 2 conditions

line l !l condition
669 1901 0 $string || ''

or 3 conditions

line l !l&&r !l&&!r condition
290 0 0 0 exists $t->{'prechild'} or exists $t->{'prechildren'}
0 0 0 exists $t->{'prechild'} or exists $t->{'prechildren'} or exists $t->{'postchild'}
0 0 0 exists $t->{'prechild'} or exists $t->{'prechildren'} or exists $t->{'postchild'} or exists $t->{'postchildren'}
434 2 1416 57 $translations->{'#text'} || $translations->{'text()'}
487 8 0 1521 $trans->{'content'} || $trans->{'contents'}
600 2 10 0 $translations->{'#comment'} || $translations->{'comment()'}
635 5 99 0 $name ||= $self->get_qualified_name($node)
656 5 99 0 $_[1] || $self->get_qualified_name($_[0])