Condition Coverage

blib/lib/Template/Replace.pm
Criterion Covered Total %
condition 24 39 61.5


and 3 conditions

line !l l&&!r l&&r condition
198 0 1 21 defined $conf and ref $conf eq 'HASH'
201 19 1 1 $$conf{'filename'} and ref \$$conf{'filename'} ne 'SCALAR'
262 15 0 1 $$conf{'filename'} and $#{$$self{'path'};} == -1
266 10 4 1 $$conf{'delimiter'} and ref $$conf{'delimiter'} ne 'HASH'
273 0 2 0 ref $$conf{'delimiter'}{$key} eq 'ARRAY' and scalar @{$$conf{'delimiter'}{$key};} == 2
427 0 0 0 ref $part eq 'HASH' and $$part{'test'}
0 0 0 ref $part eq 'HASH' and $$part{'test'} and $$part{'test'} eq "/$skip"

or 2 conditions

line l !l condition
196 17 5 shift() || {}
468 5 0 _access_data($$part{'var'}, @data_refs) || ''
537 12 5 $sec_name ||= 'root'
584 6 27 $filter || 'default'
855 2 1 $URI_ESCAPES ||= {map({chr $_, sprintf('%%%02X', $_);} 0..255)}
884 3 0 $URI_ESCAPES ||= {map({chr $_, sprintf('%%%02X', $_);} 0..255)}

or 3 conditions

line l !l&&r !l&&!r condition
435 1 1 0 ref $subsec_data_ref eq 'HASH' or ref $subsec_data_ref eq 'ARRAY'
466 5 0 0 $$self{'filter'}{$$part{'filter'}} || $$self{'filter'}{'default'}