Branch Coverage

blib/lib/Future/Buffer.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
123 0 5 unless $weakself
130 2 3 if @{$self->{'pending'};}
139 5 10 if ($self->{'fill'} and my $fill_f = $self->_fill)
154 4 14 unless $pending->[0]->(\$self->{'data'})
200 5 7 if @{$self->{'pending'};}
227 0 9 unless CORE::length $$dref
233 5 5 if CORE::length $self->{'data'}
258 3 3 unless CORE::length $$dref >= $len
264 1 2 if CORE::length $self->{'data'}
291 2 0 unless ref $pattern eq 'Regexp'
297 1 2 unless $$dref =~ /$pattern/
303 1 1 if CORE::length $self->{'data'}