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'}) |
201 | 5 | 7 | if @{$self->{'pending'};} |
228 | 0 | 9 | unless CORE::length $$dref |
234 | 5 | 5 | if CORE::length $self->{'data'} |
259 | 3 | 3 | unless CORE::length $$dref >= $len |
265 | 1 | 2 | if CORE::length $self->{'data'} |
292 | 2 | 0 | unless ref $pattern eq 'Regexp' |
298 | 1 | 2 | unless $$dref =~ /$pattern/ |
304 | 1 | 1 | if CORE::length $self->{'data'} |