Condition Coverage

blib/lib/Text/Template/Simple/Base/Compiler.pm
Criterion Covered Total %
condition 32 48 66.6


and 3 conditions

line !l l&&!r l&&r condition
26 488 6 12 ref $opt->{'_share'} eq 'ARRAY' and not defined $opt->{'_share'}[0]
30 240 244 22 $opt->{'_sub_inc'} && $opt->{'_sub_inc'} == 10
60 18 0 0 DEBUG() and ${$code_ref;}
88 502 0 0 DEBUG() and defined $opt->{'id'}
100 502 0 0 DEBUG() and $shead
159 500 0 0 $self->[17] and $self->cache->id

or 2 conditions

line l !l condition
13 274 232 shift() || {}
18 4 502 $opt->{'id'} ||= ''
19 4 502 $opt->{'map_keys'} ||= 0
20 250 256 $opt->{'chkmt'} ||= 0
21 266 240 $opt->{'_sub_inc'} ||= 0
22 2 504 $opt->{'_filter'} ||= ''
67 26 480 shift() || []
129 0 6 $self->[14] || ''
180 274 6 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
50 14 0 4 !$method || $method eq 'AUTO'
66 506 0 0 shift() || fatal('tts.base.compiler._compile.notmp')
178 280 0 0 shift() || fatal('tts.base.compiler._mini_compiler.notmp')
179 280 0 0 shift() || fatal('tts.base.compiler._mini_compiler.noparam')