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 152 if (my($value) = $spec =~ /^[\'\"](.+)[\'\"]$/)
116 1 151 if ($parts[0] eq '')
136 12 12 if ($arg_proto)
150 6 13 $data_spec ? :
176 1 194 if $maybe_attr and not $css
179 0 195 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 195 if $maybe_target_node and $maybe_attr
192 34 161 if ($maybe_target_node) { }
21 140 elsif ($maybe_attr) { }
199 26 169 if ($maybe_append) { }
11 158 elsif ($maybe_prepend) { }
2 156 elsif ($maybe_filter) { }