Branch Coverage

blib/lib/AWS/S3/FileIterator.pm
Criterion Covered Total %
branch 36 44 81.8


line true false branch
27 3 15 unless $s->{$_}
31 3 1 unless defined $s->{'marker'}
54 0 0 if (exists $s->{'data'}[$s->{'idx'}]) { }
58 0 0 if (my $page = $s->next_page) { }
77 1 5 if (@_) { }
101 1 10 if (not $s->{'__fetched_first_page'}++ and $s->page_number)
108 0 6 unless my $item = $s->_next
110 5 1 if $item->{'key'} =~ $s->pattern
111 1 5 if $discarded > $to_discard
117 1 10 unless $item->{'key'} =~ $s->pattern
119 10 0 if @chunk == $s->page_size
130 1 10 unless @out
131 1 9 wantarray ? :
137 13 5 if (my $item = shift @{$$s{'data'};}) { }
140 4 1 if (my(@chunk) = $s->_fetch) { }
154 3 2 if $s->{'marker'}
155 3 2 if $s->{'prefix'}
157 0 5 if $s->{'delimiter'}
163 2 3 ($response->xpc->findvalue('//s3:IsTruncated') || '') eq 'true' ? :
184 4 1 if (@files)
188 0 5 unless defined wantarray
189 4 1 @files ? :