Branch Coverage

blib/lib/HTML/DynamicTemplate.pm
Criterion Covered Total %
branch 16 22 72.7


line true false branch
97 0 2 unless open TEMPLATE, $template
119 2 0 if $limit =~ /^\d+$/
138 0 28 unless defined $value
192 6 140 if ($1 eq 'SET' and defined $2) { }
110 30 elsif ($1 eq 'INCLUDE' and defined $2) { }
14 16 elsif ($#variables > 0) { }
193 6 0 if ($3 =~ /^([0-9_A-Z]+)\s*,\s*"([^"]+)"$/)
198 108 2 if ($$self{'recursion_level'} < $$self{'recursion_limit'}) { }
204 14 0 if ($self->_is_in_array($1, @variables)) { }
223 0 108 unless open TEMPLATE, $template
241 14 51 unless $element ne $array[$index]