Condition Coverage

blib/lib/Dotiac/DTL/Addon/html_template/Convert.pm
Criterion Covered Total %
condition 31 55 56.3


and 3 conditions

line !l l&&!r l&&r condition
33 1 1 0 @_ and lc $_[0] eq 'combine' || lc $_[0] eq ':combine'
58 0 0 0 @_ and $_ eq 'name'
64 0 0 0 @_ and $_ eq 'loop'
78 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'
79 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'
252 2 6 3 $f eq $e and $f eq '"'
312 55 0 55 not $name and @{$opts{'name'};}
325 14 0 14 not $name and @{$opts{'name'};}
334 5 0 5 not $name and @{$opts{'name'};}
343 4 0 4 not $name and @{$opts{'name'};}
351 2 0 2 not $name and @{$opts{'name'};}
462 12 0 0 'File::Spec'->file_name_is_absolute($file) and -e $file

or 2 conditions

line l !l condition
148 2 3 $escapeflags{lc $opts{'default_escape'}} || 'h'
372 0 0 $escapeflags{lc $opts{'default_escape'}} || 'h'

or 3 conditions

line l !l&&r !l&&!r condition
33 1 0 0 lc $_[0] eq 'combine' || lc $_[0] eq ':combine'
252 3 6 2 $f eq $e and $f eq '"' or $f eq q[']
290 8 7 11 $f eq 'js' or $f eq 'url'