Condition Coverage

lib/Template/Document.pm
Criterion Covered Total %
condition 10 17 58.8


and 3 conditions

line !l l&&!r l&&r condition
156 1370 2 1 $self->{'_HOT'} and not $context->{'RECURSION'}
306 0 12 5 $UNICODE and is_utf8($perlcode)

or 2 conditions

line l !l condition
66 1321 0 $defblocks ||= {}
67 1321 0 $metadata ||= {}
87 134 0 /(.*)/s && eval $1 || (return $class->error($@))
304 17 0 $class->as_perl($content) || die($!)

or 3 conditions

line l !l&&r !l&&!r condition
314 17 0 0 rename($tmpfile, $file) || $class->error($!)