Branch Coverage

blib/lib/EBook/Ishmael/EBook/PalmDoc.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
26 0 59 unless -s $file >= 68
32 35 24 unless ($null eq "\0")
53 0 63 if ($self->{'_compression'} == 1) { }
63 0 elsif ($self->{'_compression'} == 2) { }
96 0 11 if ($self->{'_compression'} != 1 and $self->{'_compression'} != 2)
100 0 11 if ($self->{'_recsize'} != 4096)
106 11 0 if ($self->{'_pdb'}->cdate)
109 11 0 if ($self->{'_pdb'}->mdate)
113 0 11 if ($self->{'_pdb'}->version) { }
136 0 3 if (defined $out) { }
137 0 0 unless open my $fh, ">", $out
157 5 1 unless (defined $self->{'Encoding'})
163 0 6 if (defined $out) { }
164 0 0 unless open my $fh, ">", $out