Branch Coverage

blib/lib/Template/Direct.pm
Criterion Covered Total %
branch 9 22 40.9


line true false branch
45 0 2 unless ($p{'Directory'})
46 0 2 unless ($p{'Location'})
50 0 2 if (ref $p{'Directory'} eq 'Directory') { }
56 0 2 unless ($$self{'Dir'})
57 0 0 if (not $p{'Directory'}) { }
78 0 1 unless $template
94 0 1 unless $page
109 0 2 defined $language ? :
110 0 2 $$self{'Cache'} ? :
125 0 2 if (UNIVERSAL::isa($language, ''))
130 0 0 if ($dir->loadFile($p{'Template'} . '.' . $lang))