Condition Coverage

blib/lib/Dotiac/DTL/Addon/html_template/Replace.pm
Criterion Covered Total %
condition 13 32 40.6


and 3 conditions

line !l l&&!r l&&r condition
35 1 1 0 @_ and lc $_[0] eq 'combine' || lc $_[0] eq ':combine'
69 38 0 0 @_ and $_[0] eq 'print_to'
98 0 0 0 @_ and $_ eq 'name'
104 0 0 0 @_ and $_ eq 'loop'
119 1 0 1 ref $f eq 'HASH' and $$f{'sub'}
1 0 1 ref $f eq 'HASH' and $$f{'sub'} and ref $$f{'sub'} eq 'CODE'
120 0 0 1 $$f{'format'} and not ref $$f{'format'}
0 1 0 $$f{'format'} and not ref $$f{'format'} and lc $$f{'format'} eq 'array'
166 2 0 0 'File::Spec'->file_name_is_absolute($file) and -e $file

or 2 conditions

line l !l condition
232 3 4 $escapeflags{lc $opts{'default_escape'}} || 'h'

or 3 conditions

line l !l&&r !l&&!r condition
35 1 0 0 lc $_[0] eq 'combine' || lc $_[0] eq ':combine'