Branch Coverage

blib/lib/Template/Quick.pm
Criterion Covered Total %
branch 20 28 71.4


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 72 if ($_ =~ m(\[([^/|\]|']+)\]([^\[/\1\]]*)))
118 70 2 if (defined $o)
119 58 12 if ($_ =~ m([^\[/$o\]]))
126 1 1 if defined $p[1]
151 12 0 if (defined $text and defined $hash->{$key})
152 12 0 if (defined $key and defined $hash->{$key})
168 1 1 if defined $Template::Quick::tmp
180 0 10 if defined $_[0] and not ref $_[0] and $_[0] eq 'Template::Quick'
181 9 1 defined $_[0] && (ref $_[0] eq 'Template::Quick' || UNIVERSAL::isa($_[0], 'Template::Quick')) ? :