Branch Coverage

blib/lib/Template/Pure/ParseUtils.pm
Criterion Covered Total %
branch 28 32 87.5


line true false branch
13 3 11 if ($val =~ s/^\\//) { }
74 17 17 if (my($is_data_spec) = $part =~ /^$opentag(.+?)$closetag$/) { }
87 4 151 if (my($value) = $spec =~ /^[\'\"](.+)[\'\"]$/)
116 1 150 if ($parts[0] eq '')
136 12 12 if ($arg_proto)
150 6 13 $data_spec ? :
176 1 192 if $maybe_attr and not $css
179 0 193 unless $css
182 0 2 if $maybe_filter and $maybe_append || $maybe_prepend
185 0 2 if $maybe_filter and $maybe_target_node || $maybe_attr
188 0 193 if $maybe_target_node and $maybe_attr
192 34 159 if ($maybe_target_node) { }
21 138 elsif ($maybe_attr) { }
199 25 168 if ($maybe_append) { }
11 157 elsif ($maybe_prepend) { }
2 155 elsif ($maybe_filter) { }