Branch Coverage

blib/lib/Text/Template/Library.pm
Criterion Covered Total %
branch 31 42 73.8


line true false branch
22 9 9 if $$I{'DATA_ACQUIRED'}
27 0 9 unless defined $rc
36 1 8 unless $$I{'DELIM'}
63 0 14 if (exists $I->_library->{$2})
76 0 13 if defined Text::Template::Base::_param('delimiters', @_)
79 0 13 if defined Text::Template::Base::_param('safe', @_)
82 9 4 unless ($$I{'TYPE'} eq 'PREPARSED')
83 0 9 unless $I->compile
97 6 7 unless (defined $package or defined $varhash)
110 7 511 if defined $rc
112 361 150 if (exists $$I{$name})
114 137 224 if defined $rc
122 0 77 unless exists $I->_library->{$name}
126 14 63 unless (ref $tmpl)
129 12 2 defined $$I{'DELIM'} ? :
132 0 14 unless $tmpl->compile
159 0 23 unless $rc
161 4 19 if $I->_output
169 0 54 unless defined $T
187 0 54 unless $rc
189 0 54 if $T->_output