Branch Coverage

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


line true false branch
25 1 18 if @_ % 2
28 2 16 unless exists $args{'source'} and -f $args{'source'}
39 2 14 if -f $personal_defaults_file
47 5 11 if (%params)
49 1 5 unless ref $params{$outputformat} eq 'HASH'
54 10 5 if (exists $args{'options'})
55 1 9 unless ref $args{'options'} eq 'HASH'
59 1 7 unless ref $ao{$outputmode} eq 'HASH'
71 12 1 if ($suffix) { }
72 1 11 if ($suffix =~ /\.pm/) { }
87 5 21 exists $params{$f} ? :
92 2 24 if (exists $options{$f}{'outputpath'}) { }
93 1 1 if (-d $options{$f}{'outputpath'}) { }
102 1 25 unless $outputpaths{$f} =~ m[/$]
119 1 12 if (defined $params{'html'}{'infile'})
122 2 10 %{$params{'html'};} ? :
124 11 1 unless defined $params{'html'}{'outfile'}
126 2 10 defined $params{'html'}{'title'} ? :
144 0 1 unless open my $FH, ">$personal_defaults_file"
152 0 1 unless close $FH