Condition Coverage

lib/Text/Frundis.pm
Criterion Covered Total %
condition 21 38 55.2


and 3 conditions

line !l l&&!r l&&r condition
47 7 53 0 $opts{'all_in_one_file'} && $opts{'target_format'} eq 'epub'
48 0 57 3 not $opts{'script'} and $opts{'target_format'} eq 'epub'
57 3 0 not $opts{'script'} and $opts{'target_format'} eq 'epub' and not defined $opts{'output_file'}
54 0 30 30 not $opts{'script'} and $opts{'target_format'} eq 'xhtml'
30 27 3 not $opts{'script'} and $opts{'target_format'} eq 'xhtml' and not $opts{'all_in_one_file'}
57 3 0 not $opts{'script'} and $opts{'target_format'} eq 'xhtml' and not $opts{'all_in_one_file'} and not defined $opts{'output_file'}
88 0 0 1 defined $macro and $macro ne ''
96 0 0 1 defined $code and ref $code eq 'CODE'
107 0 0 1 defined $tag and $tag ne ''
111 0 0 1 defined $code and ref $code eq 'CODE'

or 2 conditions

line l !l condition
40 49 11 $opts{'use_carp'} //= 1

or 3 conditions

line l !l&&r !l&&!r condition
43 60 0 0 defined $opts{'target_format'} or $opts{'script'}
47 0 60 0 $opts{'script'} or not $opts{'all_in_one_file'} && $opts{'target_format'} eq 'epub'