Branch Coverage

blib/lib/App/pod2pandoc.pm
Criterion Covered Total %
branch 7 32 21.8


line true false branch
23 0 2 unless &Getopt::Long::GetOptionsFromArray(\@_, \%opt, 'help|h|?', 'version', 'parse=s', 'podurl=s', 'ext=s', 'index=s', 'wiki', 'default-meta=s', 'update', 'quiet', 'name')
29 0 2 if $opt{'help'}
30 0 2 if ($opt{'version'})
35 2 0 @_ ? :
39 1 1 if (defined $index) { }
47 0 2 if ($opt{'parse'} and $opt{'parse'} ne '*')
57 0 0 unless $meta
63 0 0 if ref $meta
66 0 0 if ($meta =~ /\.json$/) { }
67 0 0 unless open my $fh, '<:encoding(UTF-8)', $meta
84 0 0 ref $_[0] ? :
91 0 0 if (@$input > 0 and -d $input->[0]) { }
92 0 0 @$input > 1 ? :
98 0 0 unless %$found or $opt->{'quiet'}
110 0 0 @$input ? :
114 0 0 if (@args) { }