blib/lib/Data/Enumerable/Lazy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 31 | 49 | 63.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
404 | 1819 | 1410 | 202 | $self->{'_buff'} and $self->{'_buff'}->has_next |
596 | 3 | 7 | 1066 | $self->has_next and $ix++ < $slice_size |
704 | 3179 | 0 | 172 | $val && ref $val eq 'Data::Enumerable::Lazy' && $val->isa('Data::Enumerable::Lazy') |
line | l | !l | condition |
---|---|---|---|
334 | 3226 | 3 | $_[0]{'_opts'}{'on_next'} // sub { } |
350 | 5167 | 47 | $_[0]{'_opts'}{'on_has_next'} // sub { ; } |
361 | 0 | 0 | $_[0]{'_opts'}{'on_reset'} // sub { } |
374 | 78 | 0 | $_[0]{'_opts'}{'is_finite'} // 0 |
376 | 6151 | 3870 | $_[0]{'_opts'}{'no_wrap'} // 0 |
438 | 0 | 0 | $@ // 'zombie error' |
454 | 0 | 0 | $@ // 'zombie error' |
533 | 0 | 9 | $max_lookahead //= 0 |
669 | 0 | 16 | delete $ext->{'no_wrap'} // 0 |
886 | 2 | 0 | $options //= {} |
893 | 2 | 0 | $options->{'is_finite'} // 0 |
913 | 1 | 0 | $options //= {} |
914 | 0 | 1 | $options->{'block_size'} // 1024 |
922 | 1 | 0 | $options->{'is_finite'} // 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
434 | 202 | 1977 | 3220 | $self->_has_next_in_buffer || $self->_has_next_in_generator |
669 | 0 | 16 | 0 | delete $ext->{'on_has_next'} // $this->on_has_next |
1 | 15 | 0 | delete $ext->{'is_finite'} // $this->is_finite | |
706 | 1752 | 165 | 1434 | $self->no_wrap or $val_is_stream |