Branch Coverage

blib/lib/WebService/Shutterstock/SearchResults.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
51 4 1 $self->type eq 'image' ? :
54 0 5 unless $self->_results_data->{'results'}
68 2 6 if $i >= $count
70 1 5 if (not $batch) { }
2 3 elsif ($batch_i >= @$batch) { }
78 0 2 unless (eval { do { $search_results = $search_results->next_page; $batch = $search_results->results; 1 } })
83 0 6 if not $batch or $done