Branch Coverage

blib/lib/IO/Compress/Adapter/Lzf.pm
Criterion Covered Total %
branch 15 26 57.6


line true false branch
36 0 227 if length $self->{'Buffer'} >= $self->{'BlockSize'}
47 0 4 unless length $self->{'Buffer'}
57 72 148 unless length $self->{'Buffer'}
74 152 0 if ($flush and length $self->{'Buffer'})
91 0 152 if $@ or not defined $cmp
103 67 85 if (length $cmp >= length $$buff) { }
124 67 85 if $firstByte == 0
125 12 73 unless $firstByte & 128
126 45 28 unless $firstByte & 32
127 28 0 unless $firstByte & 16
128 0 0 unless $firstByte & 8
129 0 0 unless $firstByte & 4
130 0 0 unless $firstByte & 2