Branch Coverage

blib/lib/IO/Uncompress/Adapter/Identity.pm
Criterion Covered Total %
branch 21 36 58.3


line true false branch
24 18 57 $zip64 ? :
49 49 21 if (defined $$in and $len)
51 25 24 if ($self->{'Streaming'})
53 0 25 if (length $self->{'Pending'})
61 0 25 if ($ind < 0)
63 0 0 if ($len >= 3 and substr($$in, -3) eq "PK\a") { }
0 0 elsif ($len >= 2 and substr($$in, -2) eq 'PK') { }
0 0 elsif ($len >= 1 and substr($$in, -1) eq 'P') { }
74 25 0 if ($ind >= 0)
80 0 49 if (length $remainder and length $remainder < $self->{'DataHdrSize'}) { }
25 24 elsif (length $remainder >= $self->{'DataHdrSize'}) { }
86 25 0 if ($crc == Compress::Raw::Zlib::crc32($$in, $self->{'CRC32'})) { }
89 12 13 if ($self->{'Zip64'}) { }
100 25 0 if ($l1->equal($l2) and $l1->equal($newLen)) { }
120 49 0 if (length $$in)
124 49 0 if $self->{'wantCRC32'}
127 0 49 if $self->{'wantADLER32'}
134 46 24 if $eof