Branch Coverage

lib/Text/Frundis.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
43 0 0 unless defined $opts{'target_format'} or $opts{'script'}
47 0 60 unless $opts{'script'} or not $opts{'all_in_one_file'} && $opts{'target_format'} eq 'epub'
48 0 60 if (not $opts{'script'} and $opts{'target_format'} eq 'epub' and not defined $opts{'output_file'})
54 0 30 if (not $opts{'script'} and $opts{'target_format'} eq 'xhtml' and not $opts{'all_in_one_file'} and not defined $opts{'output_file'})
64 1 59 if (defined $macros)
74 1 59 if (defined $filters)
88 0 1 unless (defined $macro and $macro ne '')
92 0 1 if ($macro =~ /\s/u)
96 0 1 unless (defined $code and ref $code eq 'CODE')
107 0 1 unless (defined $tag and $tag ne '')
111 0 1 unless (defined $code and ref $code eq 'CODE')