Condition Coverage

blib/lib/Tenjin.pm
Criterion Covered Total %
condition 17 28 60.7


and 3 conditions

line !l l&&!r l&&r condition
235 6 13 1 defined $use_layout and $use_layout eq '0'
238 5 5 9 $template_name and $template_name eq '1'
298 16 0 5 $template and $$template{'filename'}
16 5 0 $template and $$template{'filename'} and $$template{'timestamp'} + $TIMESTAMP_INTERVAL <= time
368 0 0 0 defined $_context and $$_context{'_engine'}

or 2 conditions

line l !l condition
211 10 5 $_context ||= {}
369 0 0 $_context ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
236 4 10 5 delete $$_context{'_layout'} || $use_layout
445 0 0 16 $$self{'templateclass'} || $TEMPLATE_CLASS
448 0 0 16 not -f $cachename or (stat $cachename)[9] < (stat $filename)[9]