Branch Coverage

blib/lib/Archive/Zip.pm
Criterion Covered Total %
branch 22 58 37.9


line true false branch
285 62 19 if ref $data
295 0 0 if ref $chunkSize
297 0 0 if $chunkSize
309 0 0 unless defined $errorHandler
331 0 0 if ref $_[0]
339 0 0 if ref $_[0]
347 0 1 if ref $_[0]
363 75 0 UNIVERSAL::can($fh, 'binmode') ? :
372 0 4 if (UNIVERSAL::isa($fh, 'IO::Scalar'))
375 0 4 if (UNIVERSAL::isa($fh, 'IO::String'))
378 4 0 if (UNIVERSAL::isa($fh, 'IO::Seekable'))
381 1 3 if (UNIVERSAL::isa($fh, 'FileHandle'))
386 0 0 if (UNIVERSAL::can($fh, 'stat'))
390 0 0 UNIVERSAL::can($fh, 'seek') && UNIVERSAL::can($fh, 'tell') ? :
405 0 74 if (ref $fd) { }
407 0 0 if (UNIVERSAL::isa($fd, 'IO::Scalar') or UNIVERSAL::isa($fd, 'IO::String')) { }
0 0 elsif (UNIVERSAL::isa($fd, 'IO::Handle') or UNIVERSAL::isa($fd, 'GLOB')) { }
445 0 31 if $bytesRead != 4
451 0 31 if (defined $expectedSignature and $signature != $expectedSignature or not defined $expectedSignature and $signature != 33639248 and $signature != 67324752 and $signature != 101010256 and $signature != 134695760)
459 0 0 if (_isSeekable($fh))
482 0 0 $dir ? :
487 0 0 unless $fh
517 0 99 if ref $volReturn
519 66 17 unless $dirs[-1]
83 16 if (@dirs > 0)
533 26 0 unless defined $volume
537 0 26 unless defined $filename
538 10 16 @paths ? :
540 26 0 unless $volume