Branch Coverage

blib/lib/IO/Uncompress/UnLzf.pm
Criterion Covered Total %
branch 25 30 83.3


line true false branch
60 2 826 if $got->getValue("multistream")
72 60 777 unless my $magic = $self->ckMagic
75 0 777 unless *$self->{'Info'} = $self->readHeader($magic)
80 0 777 unless defined $obj
98 8 1010 if length $magic != 3
102 54 956 unless isLzfMagic($magic)
141 324 973 if $self->smartEof
146 1 972 unless ($self->smartReadExact(\$buffer, 3))
158 16 956 if ($sig ne "ZV")
168 790 166 if ($type == 0) { }
166 0 elsif ($type == 1) { }
169 16 774 unless $self->smartReadExact(\$buffer, 2)
176 0 166 unless $self->smartReadExact(\$buffer, 4)
191 588 352 unless $self->smartReadExact($buff, $cSize)
205 0 350 if length($$buffer) - $offset != *$self->{'LzfData'}{'uncSize'}