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 1352 2 1 $$self{'_HOT'} and not $$context{'RECURSION'}
306 0 9 5 $UNICODE and is_utf8($perlcode)

or 2 conditions

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

or 3 conditions

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