Branch Coverage

blib/lib/App/MakeEPUB.pm
Criterion Covered Total %
branch 2 66 3.0


line true false branch
75 0 0 if defined $args
86 0 0 if $$opt{'creator'}
87 0 0 if $$opt{'publisher'}
88 0 0 if $$opt{'rights'}
89 0 0 if $$opt{'cover'}
115 0 0 if 'toc.ncx' eq $path
119 0 0 unless ($outname)
122 0 0 unless (0 == $epub->writeToFileNamed($outname))
131 0 0 if (my $g = $$data{'guide'})
151 0 0 if $path eq 'mimetype'
152 0 0 if $path eq 'META-INF/container.xml'
153 0 0 if $path eq $c_opf
154 0 0 if ($path =~ /\.html$/i) { }
0 0 elsif ($path =~ /\.png$/i) { }
0 0 elsif ($path =~ /\.jpe?g$/i) { }
0 0 elsif ($path =~ /toc\.ncx$/i) { }
0 0 elsif ($path =~ /\.css$/i) { }
186 0 0 if $$md{'creator'}
188 0 0 if $$md{'publisher'}
191 0 0 if $$md{'rights'}
240 0 0 if 2 < $depth
252 0 0 if (2 == $depth) { }
258 0 0 if (my $a = $l2->look_down('_tag', 'a', 'id', qr//))
285 0 0 unless defined $$args{'epubdir'}
289 0 0 if ($$args{'level2'})
311 0 0 if (m[^$startdir/(.+)$] and -f $_)
315 0 0 if ($path =~ m[(.*/)?toc\.ncx$])
321 0 0 unless ($have_toc_ncx)
335 0 0 unless $path =~ /^(.+)\.html/i
340 0 0 if ($order) { }
354 0 0 unless (exists $$self{'substitutes'})
371 0 0 $$substitutes{$pattern} ? :
408 3 1 $_[0][1] ? :