Condition Coverage

lib/Net/API/CPAN/Scroll.pm
Criterion Covered Total %
condition 0 17 0.0


or 2 conditions

line l !l condition
43 0 0 $opts->{'all'} //= 0
50 0 0 $self->id || (return $self->error('No scroll ID was set to close.'))
64 0 0 $self->ua || (return $self->error('No HTTP::Promise object current set.'))
66 0 0 $ua->delete($uri, 'Content', $payload, 'Accept', 'application/json') || (return $self->pass_error($ua->error))
82 0 0 $ref->{'_scroll_id'} || (return $self->error('No scroll ID was returned by the MetaCPAN API'))
96 0 0 $self->SUPER::uri || (return $self->pass_error)
99 0 0 $self->filter || (return $self->error('No search filter is set!'))

or 3 conditions

line l !l&&r !l&&!r condition
101 0 0 0 $self->size // $filter->size