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 and is_image_path($f)) { }
63 0 10 unless (@{$self->{'_images'};})
89 0 3 unless open my $fh, ">", $out // \$html
108 0 3 unless open my $fh, ">", $out // \$raw
140 0 4 unless $self->has_cover
144 0 4 unless open my $rh, "<", $self->{'_images'}[0]
147 0 4 unless open my $wh, ">", $out // \$img
173 0 56 if ($n >= $self->image_num)
177 0 56 unless open my $fh, "<", $self->{'_images'}[$n]