lib/Template.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 30 | 73.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
56 | 1226 | 0 | 1 | @opts == 1 && ref $opts[0] eq 'HASH' |
64 | 1225 | 2 | 0 | $DEBUG and $options->{'binmode'} |
129 | 137 | 16 | 1 | defined $debug and not $debug =~ /^\d+$/ |
162 | 5 | 0 | 1 | &blessed($where) and $where->can('print') |
195 | 3 | 0 | 2 | $bm and $bm eq 1 |
line | l | !l | condition |
---|---|---|---|
129 | 1 | 0 | Template::Constants::debug_flags($self, $debug) || (return) |
134 | 1 | 6 | $config->{'NAMESPACE'} ||= {} |
135 | 1 | 6 | $config->{'CONSTANTS_NAMESPACE'} || 'constants' |
136 | 7 | 0 | 'Template::Config'->constants($constants) || (return $self->error('Template::Config'->error)) |
142 | 154 | 0 | $config->{'SERVICE'} || 'Template::Config'->service($config) || (return $self->error('Template::Config'->error)) |
145 | 3 | 151 | $config->{'OUTPUT'} || \*STDOUT |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
69 | 1219 | 3 | 0 | $outstream ||= $self->{'OUTPUT'} |