Branch Coverage

blib/lib/PYX/XMLNorm.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
31 1 4 unless (keys %{$$self{"rules"};})
83 55 0 if (exists $rules->{'*'})
85 15 260 if (@{$stack;} > 0 and lc $stack->[-1] eq $tmp)
90 21 34 if (exists $$rules{lc $tag})
92 7 27 if (@{$stack;} > 0 and lc $stack->[-1] eq $tmp)
108 11 0 if (exists $rules->{'*'})
110 2 53 if (@{$stack;} and lc $stack->[-1] eq $tmp)
125 14 0 if (exists $rules->{'*'})
127 7 63 if (lc $tag ne $tmp and lc $stack->[-1] eq $tmp)
133 8 6 if (exists $rules->{$tag})
135 10 1 if (lc $tag ne $tmp and lc $stack->[-1] eq $tmp)
140 14 0 if (lc $stack->[-1] eq lc $tag)
152 0 9 if (@{$stack;} > 0)
155 0 0 if ($pyx_parser->{'non_parser_options'}{'flush_stack'})