Branch Coverage

xfdxpath.yp
Criterion Covered Total %
branch 18 70 25.7


line true false branch
23 0 0 ref $_ ? :
0 0 defined $_ ? :
55 0 5 if ref $class
163 0 0 if $_->can('set_next')
170 0 0 if ($_[1]->isa('XFD::union')) { }
184 0 0 unless defined $_[2] or defined $_[3]
187 0 0 if $expr->isa('XFD::Parens')
191 0 0 unless $expr->isa('XFD::PathTest')
194 0 0 if defined $_[2]
195 0 0 if defined $_[3]
265 0 0 if (defined $_[1])
297 0 5 $$XFD::dispatcher{'Namespaces'} ? :
468 5 5 if ((pos $$input || 0) == length $$input)
478 0 5 if (defined $$d{'LastToken'} and not exists $preceding_tokens{$$d{'LastToken'}})
482 0 0 if ($$input =~ /\G\s*\*/cg) { }
0 0 elsif ($$input =~ /\G\s*($NCName)/cg) { }
487 0 0 unless 0 <= index('and|or|mod|div', $1)
494 5 0 unless (defined $token)
525 0 0 exists $EventType{$1} ? :
0 0 defined $8 ? :
0 0 defined $7 ? :
0 0 defined $6 ? :
0 0 defined $5 ? :
5 0 defined $4 ? :
0 5 defined $3 ? :
0 5 defined $2 ? :
0 5 defined $1 ? :
571 0 5 if $$options{'Debug'}
573 0 5 ($$options{'Debug'} || 0) > 5 ? :
581 5 0 if $options
590 0 5 if $@
592 0 5 if $$p{'USER'}{'NONONO'}
595 0 5 unless defined $op_tree
597 0 5 unless ref $op_tree
607 0 5 unless $op_tree->isa('XFD::PathTest')