Branch Coverage

blib/lib/Pod/Multi.pm
Criterion Covered Total %
branch 38 40 95.0


line true false branch
23 1 18 if @_ % 2
27 2 16 unless exists $args{'source'} and -f $args{'source'}
37 2 14 if -f $personal_defaults_file
45 5 11 if (%params)
48 1 5 unless ref $params{$outputformat} eq 'HASH'
52 10 5 if (exists $args{'options'})
54 1 9 unless ref $args{'options'} eq 'HASH'
58 1 7 unless ref $ao{$outputmode} eq 'HASH'
69 12 1 if ($suffix) { }
70 1 11 if ($suffix =~ /\.pm/) { }
85 5 21 exists $params{$f} ? :
90 2 24 if (exists $options{$f}{'outputpath'}) { }
91 1 1 if (-d $options{$f}{'outputpath'}) { }
100 1 25 unless $outputpaths{$f} =~ m[/$]
117 1 12 if (defined $params{'html'}{'infile'})
120 2 10 %{$params{'html'};} ? :
123 11 1 unless defined $params{'html'}{'outfile'}
126 2 10 defined $params{'html'}{'title'} ? :
142 0 1 unless open my $FH, ">$personal_defaults_file"
150 0 1 unless close $FH