Branch Coverage

blib/lib/EBook/Ishmael/EBook/CB.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
29 10 280 if (-d $f) { }
280 0 elsif (-f $f) { }
33 0 280 unless defined $format
65 0 10 unless (@{$self->{'_images'};})
91 0 3 unless open my $fh, ">", $out // \$html
110 0 3 unless open my $fh, ">", $out // \$raw
141 0 2 unless $self->has_cover
143 0 2 unless open my $fh, "<", $self->{'_images'}[0][0]
166 0 56 if ($n >= $self->image_num)
170 0 56 unless open my $fh, "<", $self->{'_images'}[$n][0]