Branch Coverage

lib/Archive/Zip/StreamedUnzip.pm
Criterion Covered Total %
branch 24 50 48.0


line true false branch
35 0 4 if defined $_[0]
50 0 0 if $Archive::Zip::StreamedUnzip::Config{'lseeksize'} >= 8
57 1 87 unless @_
63 1 86 unless (defined $inValue)
71 58 28 if ($inType eq 'filename') { }
28 0 elsif ($inType eq 'buffer' or $inType eq 'handle') { }
73 1 57 if (-e $inValue and not -f _ && -r _)
78 1 56 unless $fh = 'IO::File'->new("<$inValue")
123 84 420 if ($self->{'FirstOne'}) { }
131 84 336 if $status <= 0
148 0 0 unless defined $name
153 0 0 if $member->name eq $name
249 0 0 if (ref $CompressedLength)
261 0 0 if (ref $UncompressedLength)
313 168 0 if ref $_[0]
340 0 168 unless *$self->{'Open'}
347 168 0 if (defined *$self->{'SZ'})
360 0 84 unless $self->_stdPreq
369 0 84 if $status < 0
376 0 84 unless $self->_stdPreq
383 0 420 unless $self->_stdPreq
391 0 504 unless $self->_stdPreq
404 0 0 unless defined defined *$self->{'SZ'} and *$self->{'Inner'}{'Open'}
408 0 0 unless *$self->{'Open'}
411 0 0 if *$self->{'SZ'}{'Error'}