Branch Coverage

blib/lib/Templ/Parser.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
19 0 0 unless (defined $class or ref $class or not $class =~ /^(\w+\:\:)*\w+$/)
22 0 0 if ($class eq $PKG)
36 0 0 if ($self->prettify)
55 0 0 if ($self->prettify)
74 0 0 if ($self->tidy)
75 0 0 if ($can_tidy) { }
97 0 0 if ($self->tidy or $self->prettify)
104 0 0 if ($self->debug)
132 0 0 if $chunk eq '' and not $is_last_chunk
135 0 0 if ($chunk =~ s/\r\n$//) { }
0 0 elsif ($chunk =~ s/\n$//) { }
139 0 0 if ($nl) { }
140 0 0 if ($self->append_pretty) { }
150 0 0 $is_last_chunk ? :
173 0 0 if defined $_
181 0 0 if (defined $_[0])
187 0 0 if (defined $_[0])
193 0 0 if (defined $_[0])
200 0 0 if (defined $_[0])
201 0 0 $self->tidy ? :