Branch Coverage

blib/lib/MetaCPAN/Client/Scroll.pm
Criterion Covered Total %
branch 14 26 53.8


line true false branch
89 0 11 if ($res->{'status'} != 200)
91 0 0 if $args{'debug'}
101 0 11 is_hashref($content->{'hits'}{'total'}) ? :
110 0 11 if $content->{'aggregations'} and is_hashref($content->{'aggregations'})
120 3 100 if (not $remaining) { }
1 99 elsif (not @$buffer) { }
128 0 1 unless (@$buffer)
150 0 1 unless $res->{'status'} == 200
160 0 11 if $gd
161 0 11 unless my $ua = $self->ua
163 0 11 unless my $base_url = $self->base_url
165 0 11 unless my $id = $self->_id
167 0 11 unless my $time = $self->time