Branch Coverage

lib/Template/Quick.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
73 0 2 if @initializer
97 0 2 defined $hash->{'config'} ? :
98 2 0 unless $Template::Quick::bModPerl
102 2 0 if defined $hash->{'style'}
104 0 2 unless open $fh, "$m_sFile"
113 12 22 if ($_ =~ m(\[([^/|\]|']+)\]([^\[/\1\]]*)))
118 22 0 if (defined $o)
119 10 12 if ($_ =~ m([^\[/$o\]]))
126 2 0 if defined $p[1]
151 80 0 if (defined $text and defined $hash->{$key})
152 80 0 if (defined $key and defined $hash->{$key})
168 0 2 if defined $Template::Quick::tmp
180 0 34 if defined $_[0] and not ref $_[0] and $_[0] eq 'Template::Quick'
181 32 2 defined $_[0] && (ref $_[0] eq 'Template::Quick' || UNIVERSAL::isa($_[0], 'Template::Quick')) ? :