Condition Coverage

blib/lib/Basset/Template.pm
Criterion Covered Total %
condition 0 51 0.0


and 3 conditions

line !l l&&!r l&&r condition
369 0 0 0 defined $tpl and defined $root
0 0 0 defined $tpl and defined $root and $tpl =~ m[^/]
0 0 0 defined $tpl and defined $root and $tpl =~ m[^/] and not $tpl =~ /^$root/
826 0 0 0 $self->preprocessed_template and $self->_current_template eq $template
854 0 0 0 -e $cache_file and -M $filename >= -M $cache_file
936 0 0 0 $block and /^\s+$/
953 0 0 0 $self->caching and $cache_file
1097 0 0 0 ref $$vars{$key} and ref($$vars{$key}) =~ /^(REF|HASH|ARRAY|CODE|GLOB|SCALAR)$/
1213 0 0 0 defined $value and ref $value eq 'ARRAY'

or 2 conditions

line l !l condition
727 0 0 shift() || 0
808 0 0 shift() || 0
1075 0 0 $vars ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
499 0 0 0 shift() || $self->template
518 0 0 0 shift() || $self->template
620 0 0 0 shift() || $self->template
806 0 0 0 shift() || $self->template
1062 0 0 0 not defined $template or ref $template eq 'HASH'
1121 0 0 0 $out || $self->error("Evaluation error in template ${tplpath}: $ec", 'BT-05')