blib/lib/Tenjin.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 28 | 57.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
231 | 6 | 15 | 1 | defined $use_layout and $use_layout eq '0' |
234 | 5 | 5 | 11 | $template_name and $template_name eq '1' |
294 | 18 | 5 | 0 | $template and $template->{'filename'} |
0 | 5 | 0 | $template and $template->{'filename'} and $template->{'timestamp'} + $TIMESTAMP_INTERVAL <= time | |
364 | 0 | 0 | 0 | defined $_context and $_context->{'_engine'} |
line | l | !l | condition |
---|---|---|---|
207 | 12 | 5 | $_context ||= {} |
365 | 0 | 0 | $_context ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
232 | 4 | 12 | 5 | delete $_context->{'_layout'} || $use_layout |
441 | 0 | 0 | 18 | $self->{'templateclass'} || $TEMPLATE_CLASS |
444 | 16 | 0 | 0 | not -f $cachename or (stat $cachename)[9] < (stat $filename)[9] |