Condition Coverage

blib/lib/XML/XPathScript/Template.pm
Criterion Covered Total %
condition 7 15 46.6


and 3 conditions

line !l l&&!r l&&r condition
141 0 0 1 $other_template and $other_template =~ /HASH/

or 3 conditions

line l !l&&r !l&&!r condition
36 6 32 0 $self->{$tag} ||= 'XML::XPathScript::Template::Tag'->new
0 4 0 $self->{$_} ||= 'XML::XPathScript::Template::Tag'->new
120 0 2 0 $$self{":$namespace"} ||= 'XML::XPathScript::Template'->new
134 1520 0 95 $template->{$namespace} && ($template->{$namespace}{$tag} || $template->{$namespace}{'*'}) || $template->{$tag} || $template->{'*'}