Branch Coverage

blib/lib/Archive/Zip/NewFileMember.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
22 7 194 unless defined $newName
23 0 201 unless stat $fileName and -r _ and not -d _
30 200 1 $self->compressedSize > 0 ? :
45 0 145 unless $status == 0
47 0 145 unless $self->fh
49 0 145 unless $self->fh->seek(0, 0)
59 0 151 unless $chunkSize
60 0 151 unless my $bytesRead = $self->fh->read($$dataRef, $chunkSize)
69 3 48 if ('File::Spec'->rel2abs($name) eq 'File::Spec'->rel2abs($self->externalFileName) and -r $name) { }