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

or 2 conditions

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

or 3 conditions

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