Branch Coverage

blib/lib/IO/Framed/Read.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
11 6 0 unless (defined $initial_buffer)
53 0 10 unless $bytes
55 1 9 if (length $self->{'_read_buffer'})
56 0 1 if (length($self->{'_read_buffer'}) + $self->{'_bytes_to_read'} != $bytes)
62 10 0 if ($bytes > length $self->{'_read_buffer'})
71 1 7 if $self->{'_return'}
76 2 5 if ($bytes)
103 0 5 if ($self->{'_bytes_to_read'})
107 0 5 unless defined $seq and length $seq
111 1 4 if ($at > -1)
119 1 2 if $self->{'_return'}
123 1 1 if ($at > -1)