Branch Coverage

blib/lib/Template/Compiled.pm
Criterion Covered Total %
branch 31 48 64.5


line true false branch
89 0 0 &FileHandle()->check($_[0]) ? :
91 0 0 defined $fh ? :
130 5 0 if ($self->has_signature) { }
146 5 0 if ($compiled_signature)
148 0 5 $compiled_signature->has_slurpy ? :
156 0 7 unless $name =~ /\A[A-Z][A-Z0-9_]*\z/i
168 0 7 if $type->is_a_type_of(&HashRef())
174 1 6 if $type->is_a_type_of(&ArrayRef())
186 2 3 if ($self->trim)
190 1 4 if (my $outdent = $self->outdent)
191 1 0 $outdent > 0 ? :
205 7 24 if ($next eq $delims[0])
206 7 0 $mode eq 'text' ? :
210 7 17 if ($next eq $delims[1])
211 7 0 $mode eq 'code' ? :
220 10 7 if ($mode eq 'text') { }
6 1 elsif ($next =~ /\A=/) { }
222 6 4 if ($next =~ /\n/ms)
230 2 4 $self->has_escape ? :
253 2 3 if ($self->trim)
257 0 5 if ($self->has_post_process) { }
277 0 1 if &CodeRef()->check($style)
281 1 0 if ($style eq "html")
286 0 0 if ($style eq "xml")