Branch Coverage

blib/lib/Pandoc/Filter/Multifilter.pm
Criterion Covered Total %
branch 6 22 27.2


line true false branch
22 0 0 if $doc->name ne 'Document'
25 0 0 if not $multi or $multi->name ne 'MetaList'
28 0 0 if ($_->name eq 'MetaMap' and $_->{'filter'}) { }
0 0 elsif ($_->name eq 'MetaString' or $_->name eq 'MetaInlines') { }
58 1 7 if -x $filter
59 1 6 if (-e $filter and $filter =~ /\.([a-z]+)$/i)
60 1 0 if (my $cmd = $SCRIPTS{lc $1})
61 0 1 unless can_run($cmd)
78 0 0 if ($?)
79 0 0 if $stderr ne '' and not $stderr =~ /\n\z/s
84 0 0 if $@