Branch Coverage

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


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