Branch Coverage

blib/lib/AWS/S3/FileIterator.pm
Criterion Covered Total %
branch 8 40 20.0


line true false branch
16 3 9 unless $s->{$_}
20 1 1 unless defined $s->{'marker'}
42 1 3 @_ ? :
66 0 1 if (not $s->{'__fetched_first_page'}++ and $s->page_number)
73 0 0 unless my $item = $s->_next
75 0 0 if $item->{'key'} =~ $s->pattern
76 0 0 if $discarded > $to_discard
82 0 0 unless $item->{'key'} =~ $s->pattern
84 0 0 if @chunk == $s->page_size
95 0 0 unless @out
96 0 0 wantarray ? :
102 0 1 if (my $item = shift @{$$s{'data'};}) { }
105 0 0 if (my(@chunk) = $s->_fetch) { }
119 0 0 if $s->{'marker'}
120 0 0 if $s->{'prefix'}
122 0 0 if $s->{'delimiter'}
128 0 0 ($response->xpc->findvalue('//s3:IsTruncated') || '') eq 'true' ? :
149 0 0 if (@files)
153 0 0 unless defined wantarray
154 0 0 @files ? :