blib/lib/HTML/Template/Parser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 22 | 81.8 |
line | true | false | branch |
---|---|---|---|
37 | 83 | 81 | if length $pre |
41 | 45 | 119 | if $pre =~ /\n/ |
53 | 164 | 0 | if ('Parse::RecDescent'->can('_write_ERROR')) { } |
56 | 0 | 0 | unless open Parse::RecDescent::ERROR, '>', \my($error_string) |
60 | 1 | 163 | if ($@) |
63 | 21 | 142 | if ($tag eq $tag_temp) |
75 | 0 | 142 | if $parsed_string =~ /\n/ |
81 | 21 | 55 | if length $template_string |
93 | 27 | 180 | if ($node->type =~ /\A(if|loop|unless)\Z/) |
97 | 25 | 182 | if ($node->type =~ /\A(if|loop|unless)_end\Z/) |
110 | 156 | 8 | if $_instance |