Branch Coverage

blib/lib/Template/Direct/Page.pm
Criterion Covered Total %
branch 26 32 81.2


line true false branch
100 1 1 if (ref $data ne 'Template::Direct::Data')
105 2 0 unless ($self->isPreCompiled)
129 2 0 unless $_[0]{'preCompiled'}
153 13 231 unless defined $class{$name}
156 138 106 if (not $endTag) { }
157 58 80 if ($$tags{$name}) { }
159 0 58 unless defined $class{$name}
169 18 40 @stack > 0 ? :
172 12 46 if @{$cstack;} > 0
174 8 50 if ($object->singleTag) { }
176 0 8 if (@stack) { }
190 80 4 if ($stack[$#stack - $i]->hasTag($name))
196 0 80 unless ($found)
201 50 56 if ($stack[$#stack]->tagName eq $name) { }
56 0 elsif ($stack[$#stack]->hasTag($name)) { }
206 18 32 if (@stack) { }