Condition Coverage

blib/lib/Text/MicroTemplate/Extended.pm
Criterion Covered Total %
condition 19 20 95.0


or 2 conditions

line l !l condition
11 4 2 $$self{'template_args'} ||= {}
12 0 5 $$self{'extension'} ||= '.mt'
13 3 3 $$self{'macro'} ||= {}
39 21 31 $self->render_context->{'blocks'}{$name} ||= {'context_ref', ${"$$self{'package_name'}::_MTREF";}, 'code', ref $code eq 'CODE' ? $code : sub { return $code; } }
48 17 16 $$current_ref || ''
99 23 26 $self->render_context || {}
112 19 28 $$_{'template_ref'} ||= \$tmpl
124 4 1 $$context{'caller'} || ''
141 48 5 $$block{'code'}() || $$block_ref || ''
193 16 25 $$context{'blocks'} ||= {}